Cron Jobs Configuration
Configuring Background Cron Tasks
Section titled “Configuring Background Cron Tasks”FoxDesk leverages internal system CRON jobs seamlessly enabling deep functionality ranging from inbound ticket evaluation and automation loops up to system database optimizations.
Required Scheduled Scripts
Section titled “Required Scheduled Scripts”If running an Ubuntu/Linux-based host or operating inside cPanel environments, manually install these exact 3 separate recurrent tasks.
1. Fetching Incoming IMAP Logs
Section titled “1. Fetching Incoming IMAP Logs”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.
*/5 * * * * /usr/bin/php /var/www/helpdesk/bin/ingest-emails.php >> /var/log/helpdesk-email.log 2>&12. Processing Recurring Task Workflows
Section titled “2. Processing Recurring Task Workflows”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).
0 * * * * /usr/bin/php /var/www/helpdesk/bin/process-recurring-tasks.php >> /var/log/helpdesk-recurring.log 2>&13. Application Maintenance Scrubber
Section titled “3. Application Maintenance Scrubber”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).
0 3 * * * /usr/bin/php /var/www/helpdesk/bin/run-maintenance.php >> /var/log/helpdesk-maintenance.log 2>&1cPanel Specific Paths Warning
Section titled “cPanel Specific Paths Warning”For shared host providers utilizing graphical cPanel, note the execution PHP pathing will most certainly differ heavily:
/usr/local/bin/php /home/username/public_html/bin/process-recurring-tasks.phpVerify the exact binary localization paths natively available supported explicitly by your specialized hosting provider.