Hendra Susanto wrote: > > > So I guess the best solution is STILL using CRON.. > Anyway, i have some difficulties. Here is the cron command: > > */usr/local/bin/php /home/apple/public_html/download/call/welcome.php* > > My username is apple. The program to be called reside at > www.t2gm.net/download/call/welcome.php > > But i keep getting below error: > > *No input file specified. > > *It seems the cron cannot find the welcome.php page. Anyone knows how to fix > this? > Also i need the program to be run every minute.. so i need to add: > > */1 * * * * /usr/local/bin/php > /home/apple/public_html/download/call/welcome.php > > Is that correct? Kindly help. Thank you. > * Go to the directory that has welcome.php and type "pwd". Verify that you are entering exactly the correct directory. I don't believe that cron will work with symbiotic links.
Also, I believe you need to add a user to run the cron. In the example below I used root (maybe it's not necessary, I dunno, but I do it): */1 * * * * root /usr/local/bin/php /home/apple/public_html/download/call/welcome.php I noticed in your example above that you have welcome.php* (is the * supposed to be there? I'm thinking no..., That is probably the main problem) Good Luck, Billy P.