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

Request to update Docs - Cron Task #634

Closed
hemangd opened this issue Jul 7, 2021 · 1 comment
Closed

Request to update Docs - Cron Task #634

hemangd opened this issue Jul 7, 2021 · 1 comment

Comments

@hemangd
Copy link

hemangd commented Jul 7, 2021

Ref: https://docs.bullmq.io/guide/jobs/repeatable

// Repeat job once every day at 3:15 (am) await myQueue.add('submarine', { color: 'yellow' }, { repeat: { cron: '* 15 3 * * *' } });

The example given above runs the corn task every second of 3:15 am. Correct corn should be 15 3 * * *

@manast
Copy link
Contributor

manast commented Jul 12, 2021

No, because we support seconds, which no all cron expressions do.

@manast manast closed this as completed Jul 12, 2021
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

2 participants