hi i want to execute a php file via cron job i am staucked any help
H Hichem Mhadhbi Registered May 30, 2017 1 0 1 Muscat cPanel Access Level Root Administrator Dec 24, 2017 #1 hi i want to execute a php file via cron job i am staucked any help
H HostingH Well-Known Member Jan 13, 2008 125 17 68 cPanel Access Level Root Administrator Dec 25, 2017 #2 try : */15 * * * * /usr/local/bin/php /home/user/public_html/cron.php Its for per 15 mins
cPanelMichael Administrator Staff member Apr 11, 2011 47,883 2,256 463 Dec 26, 2017 #3 Hello, The previous post is correct. You'd use a command such as: Code: /usr/local/bin/php /home/username/public_html/path/to/cron/script Here's the document for the cron job option within cPanel: Cron Jobs - Version 68 Documentation - cPanel Documentation Thank you.
Hello, The previous post is correct. You'd use a command such as: Code: /usr/local/bin/php /home/username/public_html/path/to/cron/script Here's the document for the cron job option within cPanel: Cron Jobs - Version 68 Documentation - cPanel Documentation Thank you.