Skip to content

Configuring the SugarCRM Cron Routine

SugarCRM uses a cron routine to automate background tasks such as sending email reminders, processing workflows, and updating dashboards. On ruachost.com, you must configure cron jobs correctly to ensure SugarCRM runs smoothly.

  • Automates scheduled tasks without manual intervention.
  • Ensures workflows, reports, and notifications are processed on time.
  • Improves overall system reliability and performance.
  1. Access your ruachost.com Client Area.
  2. Go to Advanced → Cron Jobs.
  1. Under Add New Cron Job, set the following values:

    • Minute → */15 (Shortest interval allowed on shared hosting is every 15 minutes. On VPS/Dedicated, you may use * for every minute.)
    • Hour → *
    • Day → *
    • Month → *
    • Weekday → *
  2. In the Command field, enter:

    Terminal window
    cd $HOME/public_html && /usr/local/bin/php -f cron.php >/dev/null 2>&1
    • Replace $HOME/public_html with the directory where SugarCRM is installed.
    • If installed in a subdirectory, specify that path instead (e.g., $HOME/public_html/sugarcrm).
  • Click Add New Cron Job.
  • Your account will now automatically run SugarCRM’s cron.php file at the specified interval.
  • Always back up your site before editing cron settings.
  • On shared hosting, the minimum interval is 15 minutes.
  • On VPS/Dedicated servers, you can run cron jobs every minute for real‑time processing.
  • Ensure PHP path (/usr/local/bin/php) matches your hosting environment.