• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Using SugarCRM Crontab with Plesk CP

T

theblackbubble

Guest
Hi!

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 5.0.0.0b
PHP 4.4.2.
MySQL 5.0.22
Plesk 8.3.0
Linux Ubantu

Cheers
Stuart
 
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)

or

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

Do it yourself from the command line - see what happens. Any errors?
 
Thank You!

Hi Faris,

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

Many thanks for your help :)

Cheers
Stuart
 
Back
Top