Reputation: 497
I can't figure out how to create a job that ends at a specific hour and minute
Upvotes: 0
Views: 556
Reputation: 1880
Cron triggers are not quite suitable for these types of schedules. If you do not insist on using a Cron trigger, I recommend that you check the Daily Time Interval trigger that is designed for use-cases such as yours. I am attaching a screenshot of a Daily Time Interval Trigger configuration for your use-case.
Upvotes: 1
Reputation: 414
If you break your cronjob into two, it would look like:
* 8-19 * * * command
0-30/1 19 * * * command
first line runs every minute from 8-19, and second line every minute from 19-19:30.
Upvotes: 1