hi Prabha...

Am Freitag, den 12.08.2011, 03:19 -0700 schrieb Prabha vathi:

> http://www.ibm.com/developerworks/opensource/library/os-php-fwk5/?ca=.
> 
> I used the above link to learn, how to do cron. But I don't understand
> the below line
> /column/protected/cakephp/cake/console/cake prune
> -app /column/protected/cakephp/app/
> 
> How to change this to create cron in my shared server? I have option
> to add crons.

$ crontab -e 

and paste the following line:

@hourly <path_to_your_cake>/cake/console/cake prune -app
<path_to_your_cake>/app/

replace <path_to_your_cake> accordingly and the script will be executed
every hour. if you need more info about how to control execution times:

$ man 5 crontab


hth,
 Sebastian


-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to