Publish: scheduled publish

Aperta
#9 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
HTML
Stelle
0
Fork
0
Merge medio
1m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mrgnw/cfcms

Tutte le issue di mrgnw/cfcms

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.