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.

 

Why Configure Cron?

  • Automates scheduled tasks without manual intervention.

  • Ensures workflows, reports, and notifications are processed on time.

  • Improves overall system reliability and performance.

 

Steps to Configure the Cron Routine

Step 1: Log in to cPanel

  1. Access your ruachost.com Client Area.

  2. Go to Advanced → Cron Jobs.

 

Step 2: Add a New Cron Job

  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:

    Bash
    
    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).

 

Step 3: Save the Cron Job

  • Click Add New Cron Job.

  • Your account will now automatically run SugarCRM’s cron.php file at the specified interval.

 

Important Notes

  • 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.

 
Ця відповідь Вам допомогла? 0 Користувачі, які знайшли це корисним (0 Голосів)

Powered by WHMCompleteSolution