Sign inSign up

pollett/python-cron

By pollett

•Updated over 3 years ago

Cron container with python

Image
0

10K+

pollett/python-cron repository overview

⁠docker_cron

This is lightweight cron with python executes a single crontab entry

The crontab entry must be passed as CRON_ENTRY environment variable

⁠Example

This will print hello world every minute docker run -e "CRON_ENTRY=* * * * * echo hello world" pollett/python-cron

This will invoke a python script every minute docker run -e "CRON_ENTRY=* * * * * python /app/script.py" pollett/python-cron

Based on: https://hub.docker.com/r/lodatol/cron/⁠

Tag summary

Content type

Image

Digest

sha256:c110b740f…

Size

22.6 MB

Last updated

over 3 years ago

docker pull pollett/python-cron:3