enuro12
11-17-2008, 09:31 AM
I setup a cron job. I do not know if i did it properly due to the fact it is my first.
It is a .php script i currently run manually. I just want it to run every 10min automatically.
My First Attempt:
/home2/MyUserName/public_html/MySubFolder/MyPhPFile.php
My Second Attempt:
wget -q -O /dev/null http://www.MyDomain.net/MyPhPFile.php
Here are the error messages:
First:
/bin/sh: /home2/MyUserName/public_html/MySubFolder/MyPhPFile.php: Permission denied
Second:
I don't get any error. IT just doesn't do anything i guess.
It is a .php script i currently run manually. I just want it to run every 10min automatically.
My First Attempt:
/home2/MyUserName/public_html/MySubFolder/MyPhPFile.php
My Second Attempt:
wget -q -O /dev/null http://www.MyDomain.net/MyPhPFile.php
Here are the error messages:
First:
/bin/sh: /home2/MyUserName/public_html/MySubFolder/MyPhPFile.php: Permission denied
Second:
I don't get any error. IT just doesn't do anything i guess.