Public | Automated Build

Last pushed: 17 days ago
Short Description
Container that allows the easy running of scripts periodically at certain times or dates
Full Description

script-cron enables users to schedule running of scripts (written in bash, php, python, ruby or go) periodically at certain times or dates.

Usage

To run it:

$ docker run -d --name "script-cron" \
    -v /path/to/my/cron/file:/etc/cron.d/do-stuff:ro \
    -v /path/to/scripts:/script \
    -v /path/to/data:/data \
    mrskensington/script-cron

You can define multiple cron scripts to run with:

$ docker run -d --name "script-cron" \
    -v /path/to/my/cron/file1:/etc/cron.d/do-stuff:ro \
    -v /path/to/my/cron/file2:/etc/cron.d/do-more-stuff:ro \
    -v /path/to/my/cron/file3:/etc/cron.d/do-other-stuff:ro \
    -v /path/to/scripts:/script \
    -v /path/to/data:/data \
    mrskensington/script-cron
Docker Pull Command
Owner
mrskensington
Source Repository