Execute CRON with PHP 5.3


ovaze
 Share

Recommended Posts

Hi guys,

can't seem to find an answer to this one, if you would know its great help!

I want to run a CRON job to call a PHP file that IS NOT in my public_html folder.

The following works fine:

php -q /home/USER/<file> >/dev/null

However, I need PHP 5.3... Now in Apache I've setup a handler; but how should I change the CRON command to do the same outside public_html?

Thanks!

Link to comment
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.

Guest
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.

Loading...
 Share