Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic Enqueue is not working as expected #195

Closed
rishi-suresh-keshav opened this issue Jun 25, 2021 · 0 comments
Closed

Periodic Enqueue is not working as expected #195

rishi-suresh-keshav opened this issue Jun 25, 2021 · 0 comments

Comments

@rishi-suresh-keshav
Copy link

rishi-suresh-keshav commented Jun 25, 2021

I am having hard time defining the cron spec. Works for some cases but not all.

 // every 2 mins works.. 
worker.PeriodicallyEnqueue("0 0-59/2 * * * *", "Task1")
worker.Job("Task1", (b.bjctx).Task1)
 // every day at 7am doesn't work..  Also, the `webui` doesn't show the in the scheduled job page
worker.PeriodicallyEnqueue("0 0 7 * * *", "Task1") // works.. 
worker.Job("Task1", (b.bjctx).Task1)

Any help is much appreciated.
Thanks

@cypriss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant