Hi, You must create a shell, after that you could run with crontab. http://book.cakephp.org/2.0/en/console-and-shells.html
Murgan, Alexis Germán Desarrollador & Diseñador Web: german.murgan.com.ar Email: [email protected] MSN: [email protected] Móvil: +5493424663813 2013/5/3 roundrightfarm <[email protected]> > Greetings, > I'm trying to make a cron job using godaddy's Cron Job Manager. I am > trying to figure out the proper command to run an action at the > specified time > > Godaddy tells me that in order to run a PHP script via Cron, you must > specify the interpreter manually. For example: > /web/cgi-bin/php5 "$HOME/html/test.php5" > > In this example, "$HOME" represents the full path to my Shared Hosting > account and html is the folder that contains my cake folders. My setup > has no app folder. > > I am confused by the fact that the action is part of the controller > and hence there is no way to indicate the action directly as part of a > file path. Is there a way to complete the command to run the script? > Perhaps something like: > > /web/cgi-bin/php5 "$HOME/html/path to controller/action" > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
