Docker labels¶
You can configure your service using swarm-cronjob through Docker labels:
Name | Default | Description |
---|---|---|
swarm.cronjob.enable |
Set to true to enable the cronjob. required | |
swarm.cronjob.schedule |
CRON expression format to use. required | |
swarm.cronjob.skip-running |
false |
Do not start a job if the service is currently running. |
swarm.cronjob.replicas |
1 |
Number of replicas to set on schedule in replicated mode. |
swarm.cronjob.registry-auth |
false |
Send registry authentication details to Swarm agents. |
swarm.cronjob.query-registry |
Indicates whether the service update requires contacting a registry |
Last update:
2022-07-17 01:45:06
Created: 2020-09-21 23:07:39
Created: 2020-09-21 23:07:39