andrew sosa


Simple task scheduling for Docker jobs


Dockron was a way to keep the job scheduling as part of the rest of the Docker Compose stack. Instead of relying on an external crontab daemon, we could put it right in the middle of our other running containers.

Configuration is straight forward, you just need to include:

  • A string name
  • A cron schedule
  • A docker image
  • A shell command
  • An optional docker network name to join.
["Sample Task Name"]
schedule = "* * * * *"
image = "alpine"
command = "sleep 10"

["Hourly Task"]
schedule = "0 * * * *"
image = "ubuntu"
command = "echo 'Hello, world\!'"
network = "my_network"