Using cron to purge cache

Nuno Neves nfn at
Fri Mar 25 10:47:33 CET 2011


 I have a file named varnish-purge with this content that it's executed daily by cron, but the objects remain in the cache, even when I run it manually.


 /usr/bin/varnishadm -S /etc/varnish/secret -T "url.purge .*"

 The cron file is:

 /usr/local/bin/varnish-purge -----------------------------------

 I alread used:

 /usr/bin/varnishadm -S /etc/varnish/secret -T url.purge '.*'


 /usr/bin/varnishadm -S /etc/varnish/secret -T url.purge .

 without succes. The only way to purge the cache is restarting varnish.
 I'm using vanish 2.1.5 from 

 Any guidance will be apreciated.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list