I have now tried about everything to get my cron job running but any way I try it, I get an error message.
Here is what I tried first:
php /home/myusername/public_html/promoter/auto_scripts/auto_emails.php?script_act=1
Which results in this error message:
Status: 404
X-Powered-By: PHP/5.2.4
Content-type: text/html
No input file specified.
Next thing I tried was:
GET http://www.mydomain.com/promoter/auto_scripts/auto_emails.php?script_act=1
Which resulted in:
/bin/sh: GET: command not found
The php file works fine when I call it up in my browser.
Can somebody please tell me how to call up that php script in a cron job?
Thanks
Guido
Here is what I tried first:
php /home/myusername/public_html/promoter/auto_scripts/auto_emails.php?script_act=1
Which results in this error message:
Status: 404
X-Powered-By: PHP/5.2.4
Content-type: text/html
No input file specified.
Next thing I tried was:
GET http://www.mydomain.com/promoter/auto_scripts/auto_emails.php?script_act=1
Which resulted in:
/bin/sh: GET: command not found
The php file works fine when I call it up in my browser.
Can somebody please tell me how to call up that php script in a cron job?
Thanks
Guido
Comment