> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to