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
] HELP problems 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
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 script below and hopefully tell me why when I
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
4 matches
Mail list logo