Monthly Archives: February 2011

Want to migrate schedule task from Windows 2003 to Windows 2008 ? Try this :

On the 2008 server: schtasks /query /s 2003machine /tn taskname /XML > taskname.xml
Then import the xml file in the new Task Scheduler.

Need to purge Varnish of all websites containing a string ?

With varnish 2.1.4, try this:

if you want purge this regexp: ^(www\.)?(.*)xxx

you must do : varnishadm -T localhost:6082 purge "req.http.host ~ \"^(www\\\.)?(.*)xxx\""

Be careful to put good backslash sequence, in order to avoid: Syntax Error: Invalid backslash sequence