All i [you, him, us, everyone..] want to know is when scheduled job fails, instead we get message when jobs succeeds :(
Cronrat is a monitoring tool. It will alert when job fails. Without cron spam (Cram). Powered by two golang hamsters, yes yes in clouds.
Super Awesome Nice © 2014 cronrat.com 1. Register your account 2. Get Cronrat key. 3. Thats it... Now you can deploy manually or via script. No need to use UI and nothing to configure. To start monitoring your job simply call url via get or post (like in example below). This will start counter and if url is not pulled next time as defined in CRONTAB you will get alerted.
API Definition[POST or GET] http(s)://cronrat.com/r/CRONRATKEY?RAT=Your Rat Name [..optional parameters] All Parameters needs to be URL encoded ! CRONRATKEY (required) - cronrat key you receive for your account RAT (required, max 256 char) - Something to identifies this cronrat for you CRONTAB (optional) - unix CRONTAB command without script portion (default 0 0 * * * every day at midnight) ALLOW (optional) - seconds to allow before issue alert. minimum 300 (5min) maximum and default is 86400 (24 hours) so by default job needs to run at least once every 24hr. EMAILTO (optional) - by default alert will be sent to registered email, this parameter allows for different emal address URLTO(optional) - url to pull http or https upon alert TOUTC (optional) - Offset in hours between you and UTC, example for America/Los_Angeles offset is -7 Example URLs with standard linux curl: -for GET request (specify -G flag , default goes by POST) -note all parameters wrapped separately in --data-urlencode curl -G "http://cronrat.com/r/YourCronRatCode" --data-urlencode "RAT=Backup Mysql Www" --data-urlencode "CRONTAB=0 * * * *" --data-urlencode "EMAILTOemail@example.com"
Usage With Crontab0 0 * * * /usr/bin/backintime --backup-job && curl -G "http://cronrat.com/r/YourCronRatCode" --data-urlencode "RAT=Backup Mysql Www" --data-urlencode "CRONTAB=0 * * * *" --data-urlencode "EMAILTOfirstname.lastname@example.org" Or you can used from inside of your scripts as a standard url call. You can see all of your Cronrats using nice UI Cronrat will notify of failure 3 times., thereafter it will go dormant (and you will get 1 more cronrat available to you) and be deleted in 30 days. nothing to do for you.
Signup for service and you can have unlimited (almost) number of Cronrat URLs for all of your jobs.
Golang, REDIS, Laravel, MYSQL, PHP, JQuery Mobile and Phonegap