Re: Workaround for no cron?

From: Date: Mon, 08 Apr 2002 09:35:56 +0000
Subject: Re: Workaround for no cron?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-92014@lists.php.net to get a copy of this message
hi you should try this free service http://www.webcron.org it is really great (supports authentication, stores resulting file...) and free, the site is in french though ! Regards _________________________________ Hassan El Forkani http://WarmAfrica.com EveryOne's Africa _________________________________ 08/04/2002 04:15:01, "Steve Werby" <steve-lists@befriend.com> a écrit: >"Leif K-Brooks" <eurleif@buyer-brokerage.com> wrote: >> I have to wait for my host to compile php as binary for cron to work with >> php, and a lot of things on my site depend on cron. > >It's not my favorite solution from a security standpoint, but you could call >the PHP scripts from cron using wget or lynx. wget even supports HTTP >authentication and I *think* lynx does as well so you can password protect >the scripts using .htaccess. And I'm assuming you have cron access since if >you don't, having your host install PHP as a CGI won't cure that. <g> > >> Does anyone have some >> sort of code that I could put at the top of all my pages so when they get >> visited, it checks to see if a script has been executed yet this time >> petiod, and if not yet, it does? > >Better to teach a man to fish...? Either create a db entry or text file >entry with the timestamp of the last run of the scheduled script and have >your calling scripts check the timestamp to see if it's time to run. > >> Or any type of workaround for not having >> cron? Thanks! > >You just need access to a machine (can even be a Windows desktop) which can >launch a URL at a specified time or you just need someone who can do the >same via a cron job on one of their boxes. Hope that helps. > >-- >Steve Werby >President, Befriend Internet Services LLC >http://www.befriend.com/ > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#92014) next »