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

Set the start time for a "every" job #336

Open
fallais opened this issue Aug 10, 2020 · 3 comments
Open

Set the start time for a "every" job #336

fallais opened this issue Aug 10, 2020 · 3 comments

Comments

@fallais
Copy link

fallais commented Aug 10, 2020

Is it possible to set the start time when using a Every job ?

I want to schedule a job every two weeks, on Monday, starting at a specified date. It is not possible with basic CRON expression but I can achieve this by using @every 336h. But I need to set the start time of course..

Thanks a lot !

@wpecker
Copy link

wpecker commented Oct 26, 2020

I am looking forward too

@buildscientist
Copy link

The "start" time in this case would be whenever you invoke cron.Start(). You can have a system cron that you use to create/start another cron.

@buildscientist
Copy link

Also see #297 for more details.

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

Successfully merging a pull request may close this issue.

3 participants