Running a cron job for the last day of the month

Javier Gostling jgd at samwan.homeip.net
Thu Apr 1 16:40:03 UTC 2004


On Thu, Apr 01, 2004 at 12:34:04PM -0400, Javier Gostling wrote:
> 
> #!/bin/sh
> date=`/bin/date -d yesterday '+b%+'`

Err... make that '+%b' --------^^^^^

My fingers seem to be somewhat rusty today :(

Cheers,
-- 
Javier Gostling D.
<jgd at samwan.homeip.net>





More information about the redhat-list mailing list