RE: [PHP] HELP problems running PHP4 script in CRON

2001-06-20 Thread Ray Hilton
running PHP4 script in CRON Hi, Please find script below and hopefully tell me why when I run it over the web it works perfectly but when I run it using cron or in a telnet session it errors saying no such file or directory. THIS IS THE ERROR /* ./fetch_news.php: ?: No such file or directory

Re: [PHP] HELP problems running PHP4 script in CRON

2001-06-19 Thread Julia A. Case
I think your troubles are that you need a #!/path/to/php or you can start it with php -f file.php Julia Quoting Splashy ([EMAIL PROTECTED]): > Hi, > > Please find script below and hopefully tell me why when I run it over the > web it works perfectly but when I run it using cron or in a telnet

[PHP] HELP problems running PHP4 script in CRON

2001-06-19 Thread Splashy
Hi, Please find script below and hopefully tell me why when I run it over the web it works perfectly but when I run it using cron or in a telnet session it errors saying no such file or directory. THIS IS THE ERROR /* ./fetch_news.php: ?: No such file or directory ./fetch_news.php: syntax error

RE: [PHP] HELP problems running PHP4 script in CRON

2001-06-19 Thread scott [gts]
try using full paths to your files. > -Original Message- > From: Splashy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 19, 2001 9:29 AM > To: [EMAIL PROTECTED] > Subject: [PHP] HELP problems running PHP4 script in CRON > > > Hi, > > Please find scri