Publish: scheduled publish

Abierto
#9 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Área
backend

Línea de trabajo

Start with the manual publish path, since the timer must reuse it, and with the Publish view where cancel and reschedule will live. Add a stored go-out time per publish batch in the database, then a once-a-minute server timer that runs one publish at a time. Do not start until the publish lock issue (linked as a dependency) is resolved. Done when a batch scheduled one minute ahead publishes once and clears its schedule, survives a restart, and keeps any failure visible in the Publish view.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Context

Publish is immediate: stage, then go. A post written today often wants to go out at a fixed time.

Scope

  • A "go out at" time per publish batch, stored in the database.
  • A server timer (checked every minute, bounded to one publish at a time) runs the publish when due, using the same code path as the manual button.
  • Cancel and reschedule from the Publish view.

Acceptance criteria

  • A batch scheduled one minute ahead publishes once and clears its schedule.
  • A restart between scheduling and the due time still publishes (the schedule is in the database, not in memory).
  • A failed scheduled publish keeps its error visible in the Publish view.

Depends on the publish lock issue. Estimate: about 5 hours.

Lenguaje dominante
HTML
Estrellas
0
Forks
0
Merge medio
1 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mrgnw/cfcms

Todos los issues de mrgnw/cfcms

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.