issues with purge via varnishadm ran by crontab

thebog thebog at
Sun Nov 14 14:03:27 CET 2010


if you do not see it in the list. Then there is a big possibility that
the script never makes it into varnishadm. So I think it's safe to say
that the problem is in the script somehow, and not varnish.
Not that I am gonna debug your script, but take things into account
that cron is often run by /bin/sh which may have different env
variables than your normal shell (And therefore maybe a different

Type /bin/sh and work from there.

Anders Berg

On Sun, Nov 14, 2010 at 7:37 AM, Vincent <cooltechemail at> wrote:
> 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 purge == ""
> However, if I manually type the above command in the command line, there is
> no problem. I've checked that 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
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at

More information about the varnish-misc mailing list