HI I'm trying to set up a cron job via godaddy that will execute a .php file on the server, anyone know an easy way to achieve this? I tried this as the cron command: /usr/local/bin/php /var/chroot/home/content/g/c/l/g****/html/area***/openclose/cronopen.php But got: No such file or directory So.. I'm sorta stuck, any help would be awesome.. thanks!
According to : http://help.godaddy.com/article.php?article_id=3483&topic_id=72 The php executable path is PHP version 4: /web/cgi-bin/php PHP version 5: /web/cgi-bin/php5 Not /usr/local/bin/php
yeah i'm testing it now... tried php no luck trying php5 now.. I'm assuming the etire command string consist only of: /web/cgi-bin/php5 $HOME/html/area***/openclose/cronopen.php Thanks for your reply!!
nah still getting: /bin/sh: line 1: /web/cgi-bin/php5 /var/chroot/home/content/g/c/l/g***/html/area***/openclose/cronopen.php: No such file or directory grrr!
Ahh! had some double quotes stuck in the command field somehow.. working perfect with: /web/cgi-bin/php5 $HOME/html/area**/openclose/cronopen.php Thanks again!!!..