Friday, May 3, 2013

Re: cron job command

No, you need use cake console to run a shell. The cake console is located on /path/to/cakephp/app/Console/cake.
You need a command like:

/path/to/cakephp/app/Console/cake shellName -cli "/web/cgi-bin/" -console 
"/path/to/cakephp/app/Console/" -app "/path/to/cakephp/app/" 

The cake console needs execution permissions.


Murgan, Alexis Germán
Desarrollador & Diseñador
Web: german.murgan.com.ar
Email: german@murgan.com.ar
MSN: german@murgan.com.ar
Móvil: +5493424663813


2013/5/3 roundrightfarm <roundrightfarm@gmail.com>
So, if I understand correctly.  I need to create a shell which runs my
action.  Then I can have the Cron Job Manager run the shell at the
specified times.  The command would look like:

/web/cgi-bin/php5 "$HOME/html/vendors/shells/MyCronShell.php"

Is this correct?

--
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@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: