rayyansys / swarm-scheduler

A distributed scheduler for docker swarm mode using Compose and Cron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not start a service if running ?

crazy-max opened this issue · comments

Hi,

Thanks a lot for this container, it's very useful to handle cron jobs on swarm.
I have a question : is it possible to skip a cron job if the service is currently running ?

For example i have a service launched every hour with your cron and sometimes the service can take more than an hour to terminate and past this hour the service is shutted down and a new one is launched.

Thanks for your help!