Archive for June, 2007

Using at to schedule scripts

If you have some basic knowledge of UNIX you probably know about cron. But have you heard about at?
at is very similar to cron. You use it to schedule to run a program/script/command once at a specific time. A very basic example would look like this

$ at now
> date >/var/tmp/date.output
> ^D
job 1 at Mon Jun […]

Better Scripts #2 - Don’t use bash

If you want to cause a controversy on mailing lists go ahead and ask a question about which shell you should use. There are a million different opinions about this even though there is not that many shells available.
However, when you want to write portable scripts please don’t use bash but use ksh (or even […]