Re: crontab support for PHP
| From: | Ramsi Sras | Date: | Mon, 30 Jul 2001 08:04:10 +0000 |
| Subject: | Re: crontab support for PHP | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61464@lists.php.net to get a copy of this message | ||
UNSUBSCRIBE ME PLEASE!!!!!!!!!!!!!!
Max Landborn schrieb:
> > Max Landborn wrote:
> > >
> > > Hello everyone!
> > >
> > > I'm new to this list, therefore I do not know if you have discussed this
> > > matter before. I'm interested in something like crontab for PHP. This
> should
> > > be plattform independent and easy to maintain. I have a few ideas of how
> to
> > > implement it even though I'm rather new to PHP.
> > >
> > > I'm do not have much experience of crontab but I have the need for
> something
> > > like it on Windows. Also, if you have PHP compiled as a module there is,
> in
> > > my opinion, no good way of schedule running of scripts.
> > >
> > > What are your thoughts on the matter?
> >
> > Uhm, why not simply run PHP scripts from cron? Or did you want
> > something inside a web server environment?
> >
> > - Stig
> >
> > --
>
> I am beginning to think that this was not such a good idea that it seemed to
> me at first. :)
>
> Perhaps the subject line should have read "built-in cron in PHP".
>
> But if I have PHP compiled as an Apache module (as it is on most web hosting
> services), I have to set up the cron job to use something like lynx to load
> a PHP page. I don't think that is a good way of doing it. Also, it works
> only on Unix. To use the task scheduler on Windows I belive on has to have
> Administrator privileges and on many Unix hosts you are not allowed to set
> up your own cron jobs.
>
> But making a built-in cron is probably not the right solution. Switching to
> a better host is.
>
> /Max
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net