Skip to content

MentorWebServiceTeam/docker-cron-curl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

docker-cron-curl

Simple cron service that curls a target url. Can be either a fully qualified domain or a linked container.

Use

This example links a python web app and cURLs it automatically detecting which port is exposed.

docker run --name cron_curl --link sentry:sentry -e curl_target=http://sentry -e cron_interval="* * * * *" cron-curl

This example cURLs a fully qualified domain every 5 minutes

docker run --name cron_curl -e curl_target=http://www.google.com -e cron_interval="*/5 * * * *" cron-curl

You can pass in silent variable to make cron less chatty

docker run --name cron_curl -e curl_target=http://www.google.com -e cron_interval="* * * * *" -e silent=true cron-curl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages