Softaculous


Topic : Cron job command


Posted By: Marie on June 7, 2009, 4:23 pm
The correct command for the cron job should be :

Code
/var/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php


This way, you use the cpanel apache/php and the cron job will work even if the public apache/php is not compiled with the ioncube option.


-----------------------
Marie - Co-Owner
Need Further Assistance ? Here you go !
English, french and spanish support  :angel:

Posted By: alons on June 8, 2009, 3:50 am | Post: 1
Well there is a problem in redirecting the output to /dev/null
In cron it is not run under shell and hence it will need to be fixed in another way.

We cant use the above solution as it would create a difference in the core package which will soon be available in PLESK, LXLABS and Direct Admin

-----------------------
For immediate support please email us at our Support email address. PMs sent to any Softaculous Team member or posting in the forums is not the official way to get support.

Virtualizor - The Next Generation VPS Panel
Webuzo - It is Softaculous Standalone for Enterprises, SMB, Developers. Deploy it on Dedicated Servers, VPS, Virtual Appliances or the Cloud
Pinguzo - Server and Domain Monitoring tool
PopularFX - Marketplace of WordPress, Drupal, Joomla, Bootstrap themes
Remote Installer - Use Softaculous over FTP/FTPS/SFTP

Posted By: Marie on June 8, 2009, 1:16 pm | Post: 2
I have posted here the problem with the current cron file : http://www.softaculous.com/board/index.php?tid=27&title=Cron_message#p113

It is in DOS format and it seems that linux doesn't convert it properly.
Also it seems that your upgrade script is overwriting this file ? I had modified it so it uses the cpanel php to run the command, but it is back to the original non working file this morning...


-----------------------
Marie - Co-Owner
Need Further Assistance ? Here you go !
English, french and spanish support  :angel:

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.