I am trying to set up a cron job, and am having isses with it erroring out. I believe it is due to the fact that the cron GET command has been disabled on the TCH servers for security reasons, but for the life of me cant figure out an alternative way of executing the cron job.
Here is the cron job I am trying to run:
>GET http://www.mydomainname.com/folder/folder/script_I_am_running.php > /dev/null
and here is the error:
>/bin/sh: line 1: /usr/bin/GET: Permission denied
Is it possible to run it as a php file instead?? Perhaps like:
>/usr/bin/php /home/mycpanelname/public_html/folder/folder/script_I_am_running.php > /dev/null
and if so, do I need the "> /dev/null" at the end??
Thanks in advance.