ActiveCollab relies on Cron for various system tasks like: checking for new comments and tasks, sending email notifications and reminders, issuing recurring invoices, checking for updates, etc.
ActiveCollab has three jobs your server needs to run periodically - one every minute, one every three minutes, and one every hour. Your server can run them automatically at regular time intervals using Cron.
If you don't configure Cron to run those jobs, ActiveCollab won't be able to send emails or run other system processes.
There are two ways to configure Cron Jobs - both involve adding commands to your crontab file.
This is a simpler way, but may not work on every server. Here, we're assuming the location of the php executable on your server is
/usr/bin/php - please update this path if it's different. Also make sure you change the
/path-to-your-active-collab/ to where your ActiveCollab is installed, eg.
Open the server's terminal (via ssh or directly) and execute the following commands:
(crontab -l ; echo "* * * * * /usr/bin/php '/path-to-your-active-collab/tasks/cron_jobs/run_every_minute.php'") | sort - | uniq - | crontab - (crontab -l ; echo "*/3 * * * * /usr/bin/php '/path-to-your-active-collab/tasks/cron_jobs/check_imap_every_3_minutes.php'") | sort - | uniq - | crontab - (crontab -l ; echo "0 * * * * /usr/bin/php '/path-to-your-active-collab/tasks/cron_jobs/run_every_hour.php'") | sort - | uniq - | crontab -
This is a bit more technical, since you need to know how to set up Crontab jobs. The jobs that need to be executed are located in the ActiveCollab installation directory in
tasks/cron_jobs/. You or your system administrator need to open Crontab in the terminal and manually add those jobs to run at regular time intervals.
These are the commands - just make sure to update the paths of your php executable and your ActiveCollab installation directory:
* * * * * /path-to-your-php '/path-to-your-active-collab/tasks/cron_jobs/run_every_minute.php' */3 * * * * /path-to-your-php '/path-to-your-active-collab/tasks/cron_jobs/check_imap_every_3_minutes.php' 0 * * * * /path-to-your-php '/path-to-your-active-collab/tasks/cron_jobs/run_every_hour.php'
Execute this command on the server and observe the command output:
You should see the jobs listed in the output. If that's not the case, you may need to contact your system administrator to help you out.