Hi!
I used CPanel to set cronjob.
Let me give you more info:
- My main account (ephotohu) is pointed to www.ephotohunt.com domain
- I login to Cpanel via this URL ephotohunt.com/cpanel
- I hosted the second domain ecardmax.com on ephotohunt account
- I used CPanel to create the cron job to run the script on ecardmax.com
- After logged in to CPanel, I clicked the link Cron Job to go to next page then I clicked button Addvanced (Unix Style)
- Here is my setting:
Minute: 6
Hour: 6
Day: *
Month: *
Weekday: *
Command: Get
http://www.ecardmax.com/greetings/cronjob.php > /dev/null
Not sure the command is right. I will try your command to see what happen then let you know later.
You wrote
CODE
/usr/local/bin/php home/yoursername/public.html/file.php
yoursername is Your Server Name or Your User Name ? confuse
And if that is "Your Server Name" then
I'm on the server 27 , what is my server name ?and one more thing
php home or
php_home ?
Regards!
Jim