meta data for this page
This is an old revision of the document!
Cron
ITFlow comes with an array of PHP scripts that are meant to be executed automatically using Cron. The operation of scripts via Cron guarantees that actions are carried out autonomously in the background, eliminating the need for a user to be logged in.
Cron Enable & Key
In order to ensure only Cron executes the scripts (and not some random user/bot navigating to the pages), you must enable cron & generate and provide a Cron Key.
Login to ITFlow as an admin. Navigate to Settings > Alerts:
- Enable cron
- Generate a Cron Key
Cron Scripts
The following scripts should be added to your Cron:
php /full/path/to/cron.php [KEY]
– Should execute at 2 AM daily: cleanup, alerts, recurring invoices, etc.php /full/path/to/cron_ticket_parse.php [KEY]
– Should execute every min: parses ticketsphp /full/path/to/cron_mail_queue.php [KEY]
– Should execute every min: Used for emailing within the application
Please note: Swap [KEY] with your actual Cron key, and don't include the brackets [ ]