I usually create a module in the backend called 'tools', with a bunch of
actions in there for maintenance tasks which I can call from the browser.
All you need to do is make an action which clears out the cache directory
recursively (make sure you use use sfConfig::get('sf_cache_dir')). This
should take no more than a few seconds to run.

Steve


2009/3/30 Tomasz Ignatiuk <[email protected]>

>
> Did anyone tried to clear cache without CLI anf FTP? It takes some
> time for FTP client to log in, go to symfony project, list all
> catalogs and subdirectories in cache and delete them. So I am thinking
> how about to create a php file, that when I run it through browser, it
> will clear cache. Anyone tried it? Any ideas?
> >
>


-- 
Regards,

Steve Browett
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to