Skip to content

Latest commit

 

History

History

cronjob

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

cronjob

Use swarm-cronjob to launch Gantry at a specific time.

In this example, we only want to run Gantry at the specific time, therefore we set replicas to 0 on the Gantry service to avoid running it as soon as the service is deployed. We also need to set restart_policy.condition to none to prevent Gantry from restarting automatically after a cronjob.

Refer to the swarm-cronjob document for more information.