RE: [PHP] Automating tasks in PHP?
| From: | Dave VanAuken | Date: | Mon, 05 Feb 2001 21:59:40 +0000 |
| Subject: | RE: [PHP] Automating tasks in PHP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38322@lists.php.net to get a copy of this message | ||
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:creinig@mayn.de]
Sent: Monday, February 05, 2001 4:16 PM
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail:
php-list-admin@lists.php.net