You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately no. Multiple cron instances will run multiple jobs. There are several ways to work around this:
Run a separate bin for cron and then push to a backend like postgres/redis
Use a distributed lock eg Redis DLM
If you are using sql eg postgres, you can manually write an insert sql command and use the execution time as the jobid. Apalis uses ulid which should make it easy and would prevent conflicts.
Will the cron task scheduler coordinate with multiple instances of the app? Or will I end up with duplicates?
is there a way to cancel the scheduled tasks?
Thank you!
The text was updated successfully, but these errors were encountered: