hlascelles / que-scheduler

A lightweight cron scheduler for the async job worker Que
MIT License
115 stars 22 forks source link

Scheduled jobs should set the historical run_at timestamp #20

Open hlascelles opened 6 years ago

hlascelles commented 6 years ago

When jobs are enqueued by the scheduler, they are all being enqueued with the current run_at. Although this makes no difference to whether the jobs are run, it would yield a more predictable order if they were enqueued with the exact run_at time (which will always be in the past).

hlascelles commented 6 years ago

This could be added to the audit table too.