Sign in to follow this  

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

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this