Well, if you compile a cgi version of php, just add a cronjob to run your
script. When you automate these things though, especially if it's sending
out e-mail, it's best to carefully setup error reporting to catch any script
failures or faults -- you want them reported to you quickly and to kill the
script gracefully. I learned the hard way with members our e-mail
----- Original Message -----
From: "CÚsar Aracena" <[EMAIL PROTECTED]>
To: "'Jan Souman'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, August 09, 2002 1:36 PM
Subject: RE: [PHP] Sending automatically mail
> I had a question like this once, and the most applicable answer I got
> from this list was to make a script which triggers *IF* a certain time
> of day was reached. The only problem is that it had to be triggered by
> one visitor's clicking at least (the script was asleep in a page until
> that page was called).
> Now, it comes to my mind that you could have one hidden page which META
> refresh tags (refreshing itself let's say every hour), with a script
> inside that will trigger *IF* a certain hour (time) has passed.
> I hope this makes any sense, C.
> > -----Original Message-----
> > From: Jan Souman [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, August 09, 2002 2:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] Sending automatically mail
> > I would like my php-script to send a mail every day automatically,
> > anyone opening my site.
> > Is this possible and if yes can anyone tell how to do this?
> > Kind regards,
> > Jan
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php