You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ckron is a versatile and straightforward tool to schedule operations on containerized applications.
ckron is heavily inspired by ofelia but attempts to improve on it by allowing multiple tasks per job. Using tasks, you can compose complex workflows with a few off-the-shelf images and follow Docker's motto of one process per container.
NOTE: For production is recommended to use docker with a restart policy or create a service in something like systemd, upstart or forever. A service will ensure the daemon is restarted in case of an unexpected failure
Configuration
The configuration consists of a YAML file, which is meant to have familiar docker compose like syntax. The main sections of the config file are the following:
Tasks
Single operations that can be carried out by a job. Tasks currently supported are:
run: Runs a command inside of a new container, using a specific image.
exec: Runs a new command in a running container
signal: Send a signal to the main process inside the container. Similar to docker kill --signal