Thank you, that was to simple. It doesn't even need regex or anything! On Fri, Jan 7, 2011 at 3:55 PM, Michael Mol <mikemol at gmail.com> wrote: > In your cron'd shell script, grep for '/media/usb-harddrive' in > "/proc/mounts". -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.