and then someone always asks why this isn't included as part of PHP
and how dumping such a task out to cron is stupid and it should be
incorporated into PHP...  blah blah blah.

to preempt that.  cron does it fine, low overhead, and the function of
PHP is not in the realm of cron's function. if you don't like messing
with cron every time you want to do something, have cron run a
cron.php every minute and then just edit your cron.php to do what you
want.

Dave

-----Original Message-----
From: Christian Reiniger [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 4:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Automating tasks in PHP?


On Monday 05 February 2001 21:48, James, Yz wrote:
> Hi all.  This is, what might turn out to be a stupid question....
But
> I'll ask it anyway ;)
>
> Is there any way of automating tasks in php scripts, WITHOUT having
> them open?  Ie, having some method or other to send out an email
> automatically, once a week, as a newsletter, based on data /
criteria
> from a database?

Somehow this question comes up about once a day. Search the ML
archives
for "cron"

--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

(A)bort (R)etry (P)retend this never happened ...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to