1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Using SugarCRM Crontab with Plesk CP

Discussion in 'Plesk for Linux - 8.x and Older' started by theblackbubble, Mar 17, 2008.

  1. theblackbubble

    theblackbubble Guest


    We are running SugarCRM Community Edition on a Ubuntu VPS from Webfusion. Our problem is how we set-up the Crontab functions through the Plesk CP?

    The SugarCRM crontab command is...

    * * * * * cd /var/www/vhosts/theforrestercorporation.com/subdomains/crm/httpdocs; php -f cron.php > /dev/null 2>&1

    It seems the crontab function, set-up through domains crontab button, gets to the directory, but fails to action the command.

    Any help would be appreciated.

    Our system details...
    SugarCRM CE
    PHP 4.4.2.
    MySQL 5.0.22
    Plesk 8.3.0
    Linux Ubantu

  2. faris

    faris Guest

    Put it in the admin cron (root or ideally apache) rather than the domain's cron.

    Other things to try: Instead of cd /var/www/vhosts/theforrestercorporation.com/subdomains/crm/httpdocs; php -f cron.php > /dev/null 2>&1 why not try

    wget http://crm.theforrestercorporation.com/cron.php (or however you would get to that file from the net anyway)


    php -f /var/www/vhosts/theforrestercorporation.com/subdomains/crm/httpdocs/cron.php

    Do it yourself from the command line - see what happens. Any errors?
  3. theblackbubble

    theblackbubble Guest

    Thank You!

    Hi Faris,

    I put the wget command at the root level and it seems to be running!

    Many thanks for your help :)