There is a difference...

Say you gave a task A that should run every minute but takes 4
minutes.

cron will correctly start one process every minute and you will always
have about 4 processes running in average.

scheduler will schedule the tasks but will skip if already in
execution, therefore it will only run a task every 4 minutes.

cron follows your instructions without queueing the tasks and spiking
resources if necessary.

scheduler queues tasks and runs them when possible, compatibly with
requests, but keeps resources fixed.

Massimo



On Aug 12, 6:01 am, Vasile Ermicioi <[email protected]> wrote:
> > gluon/scheduler.py once stable should be preferred to cron
>
> I see

Reply via email to