Re: [PHP-DEV] crontab support for PHP
UNSUBSCRIBE ME PLEASE!! "Stig S. Bakken" 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 -- 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]
Re: [PHP-DEV] crontab support for PHP
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] crontab support for PHP
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 -- 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]
Re: [PHP-DEV] crontab support for PHP
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]
Re: [PHP-DEV] crontab support for PHP
Stig S. Bakken ([EMAIL PROTECTED]) wrote: Uhm, why not simply run PHP scripts from cron? Or did you want something inside a web server environment? I personally have been looking for something similar. AOLServer has this facility: http://www.aolserver.com/docs/tcldev/tapi-114.htm and believe me, it rocks. The problem it solves is this: in larger production environments, people have usually figured out how to use CVS to do revision control for what goes up on a web site. cron is one of those annoying things that has to live outside of CVS. In a team where there can be many people on the web server, people DO edit the cron tab, forget to save their changes, and people only discover the problem when something stops working. FWIW, I'm designing a few improvements to the Apache SAPI implementation that might make this improvement. I don't think it belongs in the language itself though. - Steve -- 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]