How to set Zurmo Cron Jobs

Zurmo requires certain cron jobs to be set up for your hosting account so that it can perform some of its functions properly. A cron job is a scheduled task executed by the system at a specified interval or time and date.

Setting your Zurmo cron jobs can be done quite easily with the Cron Jobs option in your cPanel. Just follow the steps below:

  • Log into your cPanel you have with WebHostFace.
  • Press the Cron Jobs button in the Advanced tab.
  • In the Add New Cron Job part of the page that opens you have to set the interval or time/date for every cron job and enter the command to be executed when specified.

These Zurmo Cron Jobs’ intervals are recommended by the Zurmo developers and are intended for hosting your Zurmo CRM on a VPS or DS. If you are running your installation on a shared environment, we would recommend you to make the lowest intervals be not so frequent (e.g. every 10 minutes instead of every minute). Running Cron Jobs too frequently requires a lot of system resources and will definitely take a toll on the performance of your website and the server as a whole.

The list for all the crons to be added is:

Every minute

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super EmailArchiving &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ProcessOutboundEmail &> /dev/null

Every 2 minutes

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super Export &> /dev/null

Every 5 minutes

BLACK FRIDAY 2022

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super Monitor &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super EmailBounce &> /dev/null

Every 10 minutes

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ReadPermissionSubscriptionUpdate &> /dev/null

Every 15 minutes

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ByTimeWorkflowInQueue &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super WorkflowMessageInQueue &> /dev/null

Every 30 minutes

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super AddressGeocodeUpdate &> /dev/null

Every hour

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super CampaignMarkCompleted &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super AutoresponderQueueMessagesInOutbox &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super CampaignGenerateDueCampaignItems &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super CampaignQueueMessagesInOutbox &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super UpdateModelsLatestActivityDateTimeByMeeting &> /dev/null

Once a day, early in the morning

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super TestOutboundEmail &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super CurrencyRatesUpdate &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ClearSentNotificationsEmail &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super WorkflowValidityCheck &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super JobLogCleanup &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ReadPermissionSubscriptionComprehensiveUpdate &> /dev/null

Once a week, best during the weekend

  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ImportCleanup &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ExportCleanup &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super CheckZurmoUpdates &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super DraftEmailTemplateCleanup &> /dev/null
  • cd /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/(zurmo_folder)/app/protected/commands/zurmoc jobManager super ShortUrlCleanup &> /dev/null

*Note: cPanel_user is the username of your cPanel with us and zurmo_folder is the folder of your Zurmo installation. If you have installed Zurmo in your main domain (or the public_html folder) just remove the zurmo_folder from the URL above. Like so:

  • cd /home/(cPanel_user)/public_html/app/protected/commands; /usr/local/bin/php /home/(cPanel_user)/public_html/app/protected/commands/zurmoc

was this knowledge base article useful to you