-
Notifications
You must be signed in to change notification settings - Fork 39
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
Facing issue for Minutes Value in scheduler_cron_expression #591
Comments
@14Rahul sorry for late reply. I'm trying to reproduce this issue and will get back to you soon. |
Thanks @14Rahul for open this issue. As mentioned in the README, cron expression supports both time window or one-time execution.
To clarify on the cron expression you mentioned:"* * 2 * * Sun" is going to create time windows. To break it down: To also clarify on the other cron expression:" * 30 1 * * Sun" will create much shorter time windows. To break it down: ReproductionI was able to reproduce the use case and getting the same result if I specified a fixed value for the minute:
You can see that only a single node was getting updated to the new version. RecommendationIf you intention is to set brupop to execute in the first 30min of that hour (1AM). You could use this expression:
This expression will allow the update execution from 01:00:00AM - 01:29:59AM of each Sunday. If you are more interested in scheduling the update on a specific moment and are less interested in setting the execution time window, you can also use "0 0 2 * * Sun", it will create a update event at 02:00:00AM each Sunday and let brupop update the nodes until the update is applied to all the labeled nodes. Let me know if you have any more question. |
After setting minutes value in scheduler_cron_expression the updater only running once but it should do rolling update for all instances by running multiple time. When is set * for minute value it is running each minute for that hour but I want to set that value to 30 minutes which I am unable to set.
My current cron expression is " * * 2 * * Sun " but I want to set " * 30 1 * * Sun " but second one not working multiple time
The text was updated successfully, but these errors were encountered: