Bacpham Posted May 11, 2016 Report Posted May 11, 2016 Hi guy, i have problem when run crunjob with my commands , in local im using yii and when run scrip like that in windows command : D:\xampp\htdocs\app> php console.php test index and command in console excuted, now in cPanel crunjob how i can setup for it run php ? Quote
Tony Posted May 11, 2016 Report Posted May 11, 2016 You should be able to just do: php /path/to/console.php test index For example if your username was test and you had console.php in your public_html folder it would be: php /home/test/public_html/console.php test index Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.