-
Notifications
You must be signed in to change notification settings - Fork 971
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
every(5).minutes.between("04:30", "12:00")? #182
Comments
Interested in the same feature. |
create the job to start every 5 mins, but inside the job check if the actual time is outside of the window. A simple if. |
Hi, what commend would you use to check the time? thanks |
@Jamian did you get this to work, could you help with your example, thanks! |
@underclass Unfortunately not using schedule like I'd hoped. I'd advise going with the suggestion from @jziolkowski if that works for you - it didn't for us so we just opted to go down a completely different route. Would still very much like this feature though. |
I've had a look through and I can't seem to figure out if it's possible to achieve something similar to the title with existing functionality, in a clean way. I'd like to avoid having to have a whole load of repeateded lines for every 5minute mark inbetween the hours I need to run. If not is this something that could be looked at implementing?
I have a requirement to run a task every 5 minutes, all day, every day. There's a scheduled window every day however where this task will fail, so I need to be able to run it every 5 minutes outside of this window.
E.g. if the window is 04:00 - 04:05 I need to be able to do every(5).minutes.between("04:06": "03:59") or something similar.
Cheers
The text was updated successfully, but these errors were encountered: