Is there a tool to graph, analyze and help optimize crontab execution?
To clarify, I'm thinking of a tool which would generate a graph of when cron jobs are executed, and help the sysadmin reorganize them smartly.
|
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
|
The only thing I've done is move cron jobs into a structured job scheduler in order to graph dependencies and gain visibility into the effects downtime windows. |
|||
|
Some sort of framework to assign a unique ID to each cron job and correlate that in the log file(s), and/or logging to a specific location to record runtime information (as opposed to the normal output log). It's not going to be trivial however you design it, but for small systems it is easy to eyeball this from looking at your crontabs and log files. I assume you're not talking about small systems, though. |
|||
|
|
Sounds like this is the functionality you'd like http://www.phpclasses.org/package/6673-PHP-Parse-crontab-schedule-and-generate-Gantt-charts.html I can't vouch for the above, it is just the results of some web searching. |
|||
|
|
|
A script for print all system tasks sorted by time
|
||||
|
|