cake-php
[Arriba] [Todas las Listas]

Re: cronjob En cakephp 1.3

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: cronjob En cakephp 1.3
From: Chris <chris69m@xxxxxxxxx>
Date: Fri, 21 Jun 2013 03:38:58 -0700 (PDT)
Delivery-date: Fri, 21 Jun 2013 06:39:10 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=6IjjnKvOt+pFPVYQPd5CzGNYKPA89ewdAPlfBKx4xXI=; b=Lij4y4Gah9l3Nx+VTUJA45/8sXQokRdDZFQGfkCk0yzQv7D1vj19O6wwHaQN4nVbdh 3OYQ5qoqJSPXTDggAhtdMFbtyiFQnvhRYqksOQR1gA41GcHiAEKO4zUxs5Z+z/HvxF45 /eLdbhS6+F4wldvAoVoWNKCEoj/arOzifaILQ0TTdkAmW+k8VjRpPhw5QsjrQGaPkXx8 BOvc7wOybfRGSK687BlLg4P8UN3uRbBLyJ8/trf72qkpGanzpyF7HLwK40A8sVFr/1xU 4LSSatbriTo+5A3u0dz1Yam3cMZVdQefpguSn/O+nKT54LsxL8G8E8erQEQtGo1yQGxa nddg==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <CAAc=B5UYENt67r34RQmc_WerT1woxc_skMVo9v2n0u30trgj0A@mail.gmail.com>
List-archive: <http://groups.google.com/group/cake-php>
List-help: <http://groups.google.com/support/>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
References: <5e4c6def-af73-400f-8601-62998eb22640@googlegroups.com> <CAAc=B5UYENt67r34RQmc_WerT1woxc_skMVo9v2n0u30trgj0A@mail.gmail.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
*thanks *marco,... Trabaja !!! 

También,... 
Necesitamos incluir este código a una función en un controlador: 


   la función actualiza()

    #cnj (!Definido('*CRON_*DISPATCHER')) 
$#prn->redirigir('/'); salida(); 
}
           y el resto de una codificación,.... 




En viernes, junio 21, 2013 12:08:10 SOY *UTC-7, *marco el metal escribió:
>
> *Hi Chris,
>
> Añadir este archivo *cron_*dispatcher.*php Bajo /*app/*webroot/.
>
> Entonces para llamar la función de *ssh te necesita escribirlo así:-
>
> /*usr/cubo/*php  camino_a_vuestro_proyecto_*webroot/*cron_*dispatcher.*php  
> /Los Huéspedes/actualizan
>

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


thanks marco,... it works !!! 

also,... 
we need to include this code into a function in a controller: 


   function update()
    {

    if (!defined('CRON_DISPATCHER')) 
{ 
$this->redirect('/'); exit(); 
}
           and the rest of a coding,.... 




On Friday, June 21, 2013 12:08:10 AM UTC-7, marco metal wrote:
>
> Hi Chris,
>
> Add this file cron_dispatcher.php under /app/webroot/.
>
> Then to call the function from ssh you need to write it like this:-
>
> /usr/bin/php  path_to_your_project_webroot/cron_dispatcher.php  
> /guests/update
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>