Category: WebDev & Code

  • CRON – multiple cron jobs on one line (running consecutively, not concurrently)

    This post will (hopefully) remind me in the future how to do something very simple. A crontab is normally running one command on each line. EG: # m h dom mon dow command 01 00 * * * /home/cronscripts/vine-warn-when-large-user-profile 05 00 * * * /home/cronscripts/vine-get-remote-pc-backup.sh 01 01 * * * /home/cronscripts/vine-samba-users 01 02 * *…

  • cciss-vol-status on Ubuntu didn't work, it was cciss_vol_status

    In the hope I find this post next time I’m trying to monitor a SmartArray drive controller, A fresh install of Ubuntu 10.04, installing package cciss-vol-status didn’t seem to work. I couldn’t even find the file on the system using ‘locate’. For some reason, it installed as cciss_vol_status (using underscores instead of hyphens).

  • ruby on rails sql_type – A reminder for me

    I treated myself to a rails training course last weekend (with Well House Consultants, rather good, I’ll write about it if I get around to it). Immediately I start to create my first ruby app and I forget all the sqltypes I can use in my Model and where to look them up. As I…