← Back to EasyCron.com

Feb 28, 2014

Cron job execution statistics and separate failure logs added

In order to help users inspect the execution status of their cron jobs, we added cron job execution statistics and separate failure logs to EasyCron.

You may see the cron job execution statistics (including the total number of successful executions (TS), total number of failed executions (TF) and number of consecutive failed executions (CF)) in the cron job list:


Cron job execution statistics

If there is non-zero "total failures" in any of your cron job rows, the background color of the number will turn red. You should check these outstanding rows immediately to resolve the potential problems.

Besides the general Logs and Predictions, we implemented a feature that keeps failure logs separately from the general logs. With this feature, you can analyze the logged failures at any time, and have no need to worry about the "flowing away" of the oldest logs.

For existent cron jobs, we started logging the execution statistics and separate failures from Feb 27 2014 13:19:00 UTC. Please keep in mind this point when evaluating your cron jobs' health.

Below we list how do the user behaviors affect the logs and statistics data.

Change Settings Enable Log Disable Log Enable Cron Job Disable Cron Job
General Logs Clear Clear Clear - -
Separate Failure Logs Clear Clear Clear - -
Total Success Count Reset Reset Reset - -
Total Failure Count Reset Reset Reset - -
Consecutive Failure Count Reset Reset Reset Reset -

In above table, "Clear" means deleting all logs; "Reset" means changing the number to zero; "-" means doing nothing.

"Change Settings" includes any actions that can change cron job settings excepting "Enable Logs", "Disable Logs", "Enable Cron Job" and "Disable Cron Job".

No comments:

Post a Comment