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 Activation & Key

For the sole execution of the scripts by Cron, not by an arbitrary user or bot visiting the pages, it is necessary to activate Cron and generate a Cron Key.

Sign in to ITFlow with administrative rights. Proceed 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] – This should run daily at 2 AM for tasks such as cleanup, alerts, recurring invoices, and more.
  • php /full/path/to/cron_ticket_parse.php [KEY] – Set to run every minute: it interprets tickets
  • php /full/path/to/cron_mail_queue.php [KEY] – This should run every minute: it's used for in-app email dispatching

Please note: Swap [KEY] with your actual Cron key, and don't include the brackets [ ]