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
-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
, 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
:[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
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
] 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
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
, 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
:[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
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
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
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
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
13 matches
Mail list logo