Re: Timing on an internal email
| From: | Wouter van Vliet | Date: | Thu, 09 Sep 2004 17:29:49 +0000 |
| Subject: | Re: Timing on an internal email | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196233@lists.php.net to get a copy of this message | ||
> > Not necessarily outside of php, but outside of webserver. You need to
> > setup a cron job that will execute the phpmailer script.
>
> Gotcha..,
>
> My webserver is a windows box, so I can just run a task schedule and give it;
> php.exe myfile.php
> and that should do it?
>
> Would it be more efficient as a command line task or as an instance of
> the browser?
You can use a windows version of cron, find it here:
http://www.kalab.com/freeware/cron/cron.htm
Or, if you don't want to or can't install it - you can ask somebody
with a linux server/machine to setup a cron script that does a request
to a webpage that should send the emails.