EasyEngine / EasyEngine/cron-command

Reload the cron container instead of restarting it

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
PHP
Stars
4
Forks
8
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.