Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

XSLT

At work we have an ERP system that can receive information in a proprietary XML format via directory drop or Web service call. Our customers place orders with us using disparate systems and methods. Fortunately most of them output some sort of XML. How to convert one...

Power outage for a day

Today 7 Jan 2009 we have an all day power outage starting at 8:30AM. Seeing as this webserver sits under my desk at home and the UPS is a tiny one that means that we are going offline for the duration of the outage. Be back at about 4:00PM

Clear Squid Cache CentOS 5.x

How: service squid stop rm -rf /var/spool/squid/* (removes cached files and directory structure) rm -rf /var/log/squid/* (removes the logs) squid -z (recreates the cache_dir structure) service squid start Why: Doing the above can be helpful if you want to claw back...

Running Cron Every X Minutes

I keep forgetting the correct format of cron entries to have a command run every three minutes To do it every three minutes you need to make the syntax */3 not simply 3 (which means on the 3rd minute of every hour) # m h dom mon dow command */3 * * * *...