Container that allows the easy running of scripts periodically at certain times or dates
1.1K
script-cron enables users to schedule running of scripts (written in bash, php, python, ruby or go) periodically at certain times or dates.
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
Content type
Image
Digest
Size
319.5 MB
Last updated
over 8 years ago
docker pull mrskensington/script-cron