cron icon indicating copy to clipboard operation
cron copied to clipboard

Set the start time for a "every" job

Open fallais opened this issue 4 years ago • 3 comments

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 !

fallais avatar Aug 10 '20 17:08 fallais

I am looking forward too

wpecker avatar Oct 26 '20 07:10 wpecker

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 avatar Nov 02 '20 04:11 buildscientist

Also see #297 for more details.

buildscientist avatar Nov 02 '20 05:11 buildscientist