Skip to content

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.

Last update: 2021-01-03 05:11:11
Created: 2020-09-21 23:07:39