You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my use case, I have an hourly cron job "9 * * * *" It takes 10 minutes to finish if the image is updated during the execution time then the command will be stopped and interrupted.
The request is to give the possibility to apply the updates only on the new runs and keep the old instances untouched.
Example:
service started at 10:9 AM
service got updated at 10:11 AM
then the command will stop and updates will be applied in the next run
The text was updated successfully, but these errors were encountered:
swarm.cronjob.skip-running=true This label is not handling my use case it's for a different use case: if a task is already running and another one is triggered before the first one is finished it will ignore the second one.
my case is: when a service is running and it gets updated by the swarm keep it running until it finishes for the next run and apply the new updates. (Currently the changes are applied immediately and the running task will be stoped!)
Description
In my use case, I have an hourly cron job "9 * * * *" It takes 10 minutes to finish if the image is updated during the execution time then the command will be stopped and interrupted.
The request is to give the possibility to apply the updates only on the new runs and keep the old instances untouched.
Example:
then the command will stop and updates will be applied in the next run
The text was updated successfully, but these errors were encountered: