# Cron Job

cron is a Linux utility that schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks.

Every modern application with decent features must have cron job configured in order tasks to be executed in the background.

Concord CRM requires a cron job to be configured, follow the steps explained below to configure cron job for your installation.


For the examples below, make sure to replace /path/to/concord/ with the path to your installation. On some shared hostings you may need to specify the full path to the PHP executable (for example, /usr/local/bin/php-7.4 instead of php)

# Setup Cron Job Via Cpanel

Login to cPanel and search for "Cron Job", and add the following cron job command as shown below:

php /path/to/concord/artisan schedule:run >> /dev/null 2>&1
cPanel Cron Job Setup

# Setup Cron Job Via SSH

If you are managing the server via SSH, you will need to configure the cron job from the command line, the cron job must be configured for the user responsible for managing the webserver, in most cases, it's the www-data user.

sudo crontab -u www-data -e

* * * * * php /path/to/concord/artisan schedule:run >> /dev/null 2>&1