Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Cronjob Command



Threaded Mode | Print  

 Cronjob Command (2 Replies, Read 1957 times)
kitzmiller
Group: Member
Post Group: Newbie
Posts: 6
Status:
What would be the command in webuzo cronjob command line to run a php file in the public_html folder?
Would it just be: public_html/cron.php
IP: --   

Cronjob Command
kitzmiller
Group: Member
Post Group: Newbie
Posts: 6
Status:
I believe I figured it out...maybe lol
php /home/admin/public_html/cron.php
IP: --   

Cronjob Command
Dhanya
Group: Softaculous Team
Post Group: Working Member
Posts: 201
Status:
Hi,

The cron command should be set as follows:
/usr/local/apps/php[ver]/bin/php /home/admin/public_html/cron.php

Note: Replace [ver] in the above path with the PHP version i.e 56 or 70 or 71 or 72 or 73 as per the default PHP version you have set on your Webuzo panel.

Let us know.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 10, 2020, 7:39 pm.

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