Skip to content

Cron Jobs Configuration

FoxDesk leverages internal system CRON jobs seamlessly enabling deep functionality ranging from inbound ticket evaluation and automation loops up to system database optimizations.

If running an Ubuntu/Linux-based host or operating inside cPanel environments, manually install these exact 3 separate recurrent tasks.

Transfers unread/read IMAP contents sequentially to newly generated ticket logs (runs every 5 minutes natively). Make absolute sure config.php defines the IMAP variable flags.

Terminal window
*/5 * * * * /usr/bin/php /var/www/helpdesk/bin/ingest-emails.php >> /var/log/helpdesk-email.log 2>&1

Automates time tracking or auto-creation schemas for recurring ticket instances depending heavily on the daily or weekly cadences defined directly within administration (runs globally every hour).

Terminal window
0 * * * * /usr/bin/php /var/www/helpdesk/bin/process-recurring-tasks.php >> /var/log/helpdesk-recurring.log 2>&1

Orchestrates backend maintenance logic natively eliminating orphaned documents, flushing outdated temporary records, and indexing overall table data sets for speed optimizations (Executed once daily, ideally 3 AM local time).

Terminal window
0 3 * * * /usr/bin/php /var/www/helpdesk/bin/run-maintenance.php >> /var/log/helpdesk-maintenance.log 2>&1

For shared host providers utilizing graphical cPanel, note the execution PHP pathing will most certainly differ heavily:

Terminal window
/usr/local/bin/php /home/username/public_html/bin/process-recurring-tasks.php

Verify the exact binary localization paths natively available supported explicitly by your specialized hosting provider.