Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Suggestions > Topic : Cron job command



Threaded Mode | Print  

 Cron job command (2 Replies, Read 12356 times)
Marie
Group: NOC
Post Group: Newbie
Posts: 21
Status:
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:
IP: --   

Cron job command
alons
Group: Administrator
Post Group: Super Member
Posts: 2280
Status:
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
IP: --   

Cron job command
Marie
Group: NOC
Post Group: Newbie
Posts: 21
Status:
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:
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 1:45 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.199