Sign inSign up

oliverlorenz/crontab

By oliverlorenz

Updated over 6 years ago

This is a image to run cronjobs. The image has nothing installed. So this is more a base image.

Image
0

115

oliverlorenz/crontab repository overview

Docker Cloud Automated build Docker Cloud Build Status

docker-crontab

This is a image to run cronjobs inside a docker container. The image has nothing installed. So this is a pure base image.

usage

  • create a crontab file. for example:

    ## Every minute print the date
    * * * * * rsync /a/local/file user@host:/a/remote/location
    
  • create a new Dockerfile

    FROM oliverlorenz/cron:alpine
    RUN apk add --no-cache rsync
    ADD crontab /crontab
    
  • build and use

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

over 6 years ago

docker pull oliverlorenz/crontab:latest-alpine