On Mon, Aug 18, 2008 at 2:24 PM, Hendra Susanto <[EMAIL PROTECTED]> 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. >
Hi Hendra, When running things through CRON I tend to write a simple shell script which calls the PHP script. This saves any complications with parameters and allows you a little more flexibility. Something like this http://pastebin.com/mb0f5c25 which cron can call will be useful for you. Regards, Phill Sparks milk-hub.net