EasyEngine / EasyEngine/cron-command

Reload the cron container instead of restarting it

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
good first issue
Vorherrschende Sprache
PHP
Sterne
4
Forks
8
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

According to the current execution flow of `cron-command`, whenever any new cron job is added, it restarts the `easyengine/cron` container to accommodate the new changes. This can disrupt the cycle of already running cron-jobs.

For example, if a job is running every 10 minutes and had completed say 9 minutes before restart was executed, then it's time will start from zero again. Thus, the executing cron cycles could get a little affected by this.

A reloading signal or a HUP signal to refresh and accommodate the new changes is required to replace the current restart method.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.