What is the command I need to use to run file myfile.php
Posted by Karmjit Grewal on 15 March 2017 01:13 PM

You can use the wget command to schedule php type cli commands. Please follow the steps below to create one.

Step 1: Log into your control panel and then go to "Schedule Tasks" icon on the right hand side under Websites and Domains section.



Step 2: Now click on "Add Task" icon under Schedule Tasks.



Step 4: Now complete the information required for Task Type, command, Run, Description and Notify details. Under Command use wget command to run php type cli commands as followed. eg. wget -o /dev/null


Option -o is used to direct an output file to /dev/null. You can remove this option but then it will create a outpul file at the location where wget command runs.


(0 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).