4 ms·
It's erroring out on me but I wanted to try one of my stackoverflow questions from long ago that still gets frequent votes: Every 15 minutes except at 3AM? St
by seiferteric 4y ago
It's erroring out on me but I wanted to try one of my stackoverflow questions from long ago that still gets frequent votes:
Every 15 minutes except at 3AM?
Stackoverflow responses say it can't be done in one line.
- seiferteric 4y agoAh it finally worked: 0-59/15 3 * * *') Is this correct? :)
- deleted 4y ago[deleted]
- jacobpedd 4y agoThere is a trailing ') from a bug that I just fixed. I don't think that's correct. Tricky prompt!
- kc10 4y agothis only runs between 3am and 4am. I can't think of a way to get it in one line. Probably easiest is to split into two jobs. */15 1,2,4-23 * * * - this runs every 15 mins except between 3am and 4am 15,30,45 3 * * * - this should cover the delta
- encoderer 4y agoIf you mean to only skip one specific occurrence at 03:00 exactly then, yes, it can’t be done in a single line.