Cronjobs are very important in the running and maintenance of eduTrac SIS (etSIS). When you first setup etSIS, you need to setup cronjob handlers (Screens > Administrative > Cronjob Handler). On the Cronjob Handler settings screen (Cronjob Handler > Settings) you must enter a password and the time in seconds that the cronjob should run before timing out.
Setting Up New Handlers
- Handler Name – Name of the handler to run.
- Cronjob URL – Url of the handler to run.
- Each / Time – Set the time for when the cronjob should run (i.e. every 2 minutes, every 5 minutes, or every Day at 07:00).
- Set the handler to Active or Inactive.
Once you’ve setup your cronjob handlers, you will need to create a cronjob on your server either through your hosting control panel or by using these instructions. The master cronjob should run every minute and should be setup like so:
* * * * * http://replace_url/cron/master/
Below is the a list of handlers that need to be setup in the system. You will need to replace the replace_url with the url of your installation.
|Name||Script Path||Suggested Time Interval|
|Purge Activity Log||http://replace_url/cron/purgeActivityLog/||Every Hour|
|Update Student Terms||http://replace_url/cron/updateSTTR/||Every 7 days|
|Update Student Academic Levels||http://replace_url/cron/updateSTAL/||Every 7 days|
|Run Email Queue||http://replace_url/cron/runEmailQueue/||Every 5 Minutes|
|Run Bounce Handler||http://replace_url/cron/runBounceHandler/||Every day|
|Run Graduation||http://replace_url/cron/runGraduation/||Every hour|
|Purge Error Log||http://replace_url/cron/purgeErrorLog/||Every 30 minutes|
|Purge Saved Queries||http://replace_url/cron/purgeSavedQuery/||Every 30 days|
|Check Student Balance||http://replace_url/cron/checkStuBalance/||Every 5 minutes|
|Run NodeQ||http://replace_url/cron/runNodeQ/||Every 5 minutes|
|Backup Database||http://replace_url/cron/runDBBackup/||Default: every day, but feel free to change it to how often you want to backup your database.|
|Backup System||http://replace_url/cron/runSiteBackup/||Default: every day, but feel free to change it to how often you want to backup your system. This does not backup system session savepath files set in config.php|
|Academic Level Standing||http://replace_url/cron/runALST/||Every 7 days|