On 01/03/2011 23:33, Ryan Schmidt wrote:
I don't understand... cron shouldn't really be doing anything with
your web site. If you need to access your models from a script called
from cron, write a CakePHP shell to do that.
Sorry for the late response,
I came from drupal world, so I'm used - and had organized my work -
within this methodology.
In drupal everything that has a "hook_cron" callback in modules, is then
executed in /cron.php
So, in my office server, I put cron jobs that "wget" websites and keep
them "alive" on a public url.
I didn't learn in depth the cakephp console way, because the 80% of my
website run on shared hosting, without a shell access.
Said this, I'm always open to better solutions.
Thank you,
Luca
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php