Sign in to follow this  
Bacpham

About Crunjob PHP Console

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this