My first message was for asking.
My last for explaining because nobody answer me before I solve it, and
because it wasn t that easy.
On 6 juil, 21:58, "Pablo Viojo" <[EMAIL PROTECTED]> wrote:
> I don't understand...you're asking or trying to explain it?
>
> Using that piece of code, you can set a cron task.
>
> Regards,
> Pablo
>
> On 7/6/07, wluigi <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > @keaten patel : it doesn t solve the problem for the first user how
> > must regenerate the view
>
> > @Rajesh : yes that is it but the main problem was to call every
> > action.
>
> > So I use Curl :
>
> > foreach($controllerActionList as $myControllerAction){
>
> > if(!$ch = curl_init('http://localhost/donnees/index/'.
> > $domaine['Domaine']['name'].'/'.$period)){
> > echo ' curl init erreur';
>
> >
> > }elseif(!curl_setopt($ch,CURLOPT_RETURNTRANSFER,true)){
> > echo '<br/>curl_setopt
> > CURLOPT_RETURNTRANSFER erreur';
>
> >
> > }elseif(!curl_setopt($ch,CURLOPT_NOBODY,true)){
> > echo '<br/>curl_setopt
> > CURLOPT_NOBODY erreur';
> > }elseif(!curl_exec($ch)){
> > echo ' curl exec erreur';
> > }else{
> > curl_close($ch);
> > //echo ' ok:';
> > }
>
> > }
>
> > On 5 juil, 17:23, "R. Rajesh Jeba Anbiah"
> > <[EMAIL PROTECTED]> wrote:
> > > On Jul 5, 2:45 pm, wluigi <[EMAIL PROTECTED]> wrote:> the question was
> > not how to use cache but how to generate de cached
> > > > contente for every action of my site every morning, so that the first
> > > > people how use the site can take benefits of the cached view.
>
> > > <snip>
>
> > > Set up cron to delete cache folders every morning?
>
> > > --
> > > <?php echo 'Just another PHP saint'; ?>
> > > Email: rrjanbiah-at-Y!com Blog:http://rajeshanbiah.blogspot.com/
>
> --
> Pablo Viojo
> [EMAIL PROTECTED]://pviojo.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---