{"repo":"nicomt/ckron","free":true,"listed":false,"github":"https://github.com/nicomt/ckron","clone":"git clone https://github.com/nicomt/ckron.git","description":"🐋 A cron-like job scheduler for docker","language":"JavaScript","stars":57,"topics":["docker","cron","scheduler","nodejs","javascript","linux","cronjob"],"license":"ISC","category":"deployment-docker-iac","readme_excerpt":"ckron A cron-style job scheduler for docker 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. Install If you have Node installed: If you only have Docker installed: Usage If you installed it in Node: If you installed it in Docker: 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 See tasks reference for more documentation Jobs Jobs are sets of tasks scheduled with a cron-like syntax. See jobs reference for more documentation Notifiers Notification channels for failed jobs. See notifiers reference for more documentation YAML Full Example Run with $ ckr","default_branch":null,"files":null,"tree":[],"storefront":"/r/nicomt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nicomt/ckron/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}