Skip to content

apostolosSotiropoulos/docker-cron-curl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-cron-curl

Simple cron service that reads tasks from file cronjobs and executes them.

Use

Edit cronjobs file, by adding for example:

*/5 * * * * curl -I http://example.com/ >> cronjobs.log

Build and run your container:

docker build -t curljob_image .

docker run -d --name curljob curljob_image

Check the logs

docker exec curljob cat /root/cronjobs.log

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%