[PHP] Running PHP as a cron job....

2001-07-08 Thread James, Yz
Hi all, This is probably going to sound incoherant, but Do I have to do anything (other than change the permissions of a php file) to get it to run as part of a cron job? I created an extremely simple file that should just send a blank email to me (using mail()). I got an email from the

RE: [PHP] Running PHP as a cron job....

2001-07-08 Thread Ben Bleything
-Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:39 PM To: [EMAIL PROTECTED] Subject: [PHP] Running PHP as a cron job Hi all, This is probably going to sound incoherant, but Do I have to do anything (other than change the permissions of a php file

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread James, Yz
, and it behaves as a shell script (after you make it executable, of course) Ben -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:39 PM To: [EMAIL PROTECTED] Subject: [PHP] Running PHP as a cron job Hi all, This is probably going

RE: [PHP] Running PHP as a cron job....

2001-07-08 Thread Matthew Loff
:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 6:57 PM To: Ben Bleything; [EMAIL PROTECTED] Subject: Re: [PHP] Running PHP as a cron job Hi Ben, When running it as a normal PHP file, I get the cron daemon emailing me stuff like: automation/mail.php: ?: No such file or directory automation

RE: [PHP] Running PHP as a cron job....

2001-07-08 Thread Ben Bleything
Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:57 PM To: Ben Bleything; [EMAIL PROTECTED] Subject: Re: [PHP] Running PHP as a cron job Hi Ben, When running it as a normal PHP file, I get the cron daemon emailing me stuff like: automation/mail.php

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Don Read
] Running PHP as a cron job Hi all, This is probably going to sound incoherant, but Do I have to do anything (other than change the permissions of a php file) to get it to run as part of a cron job? I created an extremely simple file that should just send a blank email to me (using

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Chris Fry
as a shell script (after you make it executable, of course) Ben -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:39 PM To: [EMAIL PROTECTED] Subject: [PHP] Running PHP as a cron job Hi all, This is probably going to sound

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Michael Hall
, and it behaves as a shell script (after you make it executable, of course) Ben -Original Message- From: James, Yz [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:39 PM To: [EMAIL PROTECTED] Subject: [PHP] Running PHP as a cron job Hi all

RE: [PHP] Running PHP as a cron job....

2001-07-08 Thread Ben Bleything
:[EMAIL PROTECTED]] Sent: Sunday, July 08, 2001 3:16 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Running PHP as a cron job This looks like a good place for me to step in and maybe clear up something I've been wondering about ... With all the advice that has been offered so far, has it been

RE: [PHP] Running PHP as a cron job....

2001-07-08 Thread Michael Hall
On Sun, 8 Jul 2001, Ben Bleything wrote: Interesting method, with the lynx... I imagine that if you've only built the DSO, then that would be the way to do it.. if it worked. My guess would be, you would have to do lynx 'http://localhost/path/to/script/script.php' to force it to go

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Steve Werby
Michael Hall [EMAIL PROTECTED] wrote: With all the advice that has been offered so far, has it been assumed that php is installed in the CGI rather than DSO manner? I haven't found this to be clear from the thread. Can PHP as a DSO interpret shell script-like files with a shebang at the

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Steve Werby
Ben Bleything [EMAIL PROTECTED] wrote: Interesting method, with the lynx... I imagine that if you've only built the DSO, then that would be the way to do it.. if it worked. It works. -- Steve Werby President, Befriend Internet Services LLC http://www.befriend.com/ -- PHP General Mailing

Re: [PHP] Running PHP as a cron job....

2001-07-08 Thread Steve Werby
Michael Hall [EMAIL PROTECTED] wrote: I've just recently got a bit more serious with learning bash scripting and am surprised at how powerful it really is, in conjunction with the usual UNIX commands and other tools. PHP is the only choice for most things web related, but I'm finding that