Skip to content
dbreenPublic
forked from Arch199/crontrack

About

An open-source Django app for keeping track of Cron jobs.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

104 Commits

Folders and files

Repository files navigation

CronTrack

CronTrack is an open-source Django app for logging Cron jobs and keeping track of when they don't complete on time.

One problem with having a lot of Cron jobs running continuously is that there isn't an easy way to tell when your jobs aren't completing successfully. You could have them notify you when they succeed, but that just leads to spam, and doesn't address the real problem. Ideally, you'd want to be notified only when your attention is required, i.e. when the job isn't completing successfully. Enter CronTrack, which was created to solve this exact problem.

Usage

You can input jobs either individually or in groups. Given the Cron schedule string (e.g. "30 9 * * 1-5") and a time window for the job to complete in, CronTrack will calculate the next run time and send you an email/text message (configurable) if the job doesn't complete on time. This is accomplished by having you add an API call to your program being run by the job to notify CronTrack when the job completes. If CronTrack doesn't receive a notification in time, it will send you an alert.

Notifying CronTrack

The API call can be sent by pinging the URL https://crontrack.com/p/UUID_FOR_THE_JOB/ with a regular GET request. The simplest way of doing this is probably using cURL, and including something like this in your crontab:

30 9 * * 1-5 ubuntu /PATH/TO/YOUR_SCRIPT && curl https://crontrack.com/p/UUID_FOR_THE_JOB/

Support for Teams

You can create custom teams which allow you to share jobs between multiple users. When you create a job or group of jobs, you can select a team to associate it with, and all members of that team will be able to view and edit it. By default, all members of the team will also be alerted by CronTrack when jobs fail to run on time, but members can disable alerts for teams individually.

About

An open-source Django app for keeping track of Cron jobs.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages