Sign inSign up

mrskensington/script-cron

By mrskensington

Updated over 8 years ago

Container that allows the easy running of scripts periodically at certain times or dates

Image
1

1.1K

mrskensington/script-cron repository overview

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

Tag summary

Content type

Image

Digest

Size

319.5 MB

Last updated

over 8 years ago

docker pull mrskensington/script-cron