This page tracks whether crons on InsideCIRES have been completed: https://insidecires.colorado.edu/dashboard/system_status_cron.php.
To add a cron for tracking
-
Add a row for the cron to the CRM.Cron table:
- CronName = name of script file
- CronType = general purpose (Email, CIW Data Pull, etc.)
- Application = insidecires application/folder (pmt, proposals, etc.)
- Description
- Cadence (D for Daily, W for Weekly)
-
In your cron script, add the following:
require_once(dirname(__FILE__) . '/../../../root/cron/cron_functions.php');
// with other require/includes$startTime = time();
// at beginning of scriptupdateCronTable($db,basename(__FILE__),$startTime);
// at end of script, but before closing $db