Execute php file via cron job?
hi
i want to execute a php file via cron job
i am staucked
any help
-
try : */15 * * * * /usr/local/bin/php /home/user/public_html/cron.php Its for per 15 mins 0 -
Hello, The previous post is correct. You'd use a command such as: /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.0
Please sign in to leave a comment.
Comments
2 comments