issues with purge via varnishadm ran by crontab

Vincent cooltechemail at gmail.com
Sun Nov 14 07:37:31 CET 2010


Hi All,

I am using 2.1.3 and I am having issue with purge via the varnishadm
command. Basically if I put the following command in crontab, the system
will run the command as defined in crontab but it seems that varnish will
ignore the command:

varnishadm  -T 127.0.0.1:8000 purge req.http.host == "www.example.com"

However, if I manually type the above command in the command line, there is
no problem. I've checked that www.example.com is not in purge.list when the
command is ran using crontab but it will be included in purge.list when I
manually type the command.

Is this a bug?

Thanks,

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.varnish-cache.org/pipermail/varnish-misc/attachments/20101113/d6d9ed50/attachment.html>


More information about the varnish-misc mailing list