thanks for the replies, they got me thinking about $PATH so I did a bit
more digging and low and behold I had the following line in my script:
"unset PATH # suggestion from H. Milz: avoid accidental use of $PATH"
I commented out the "unset PATH" and the date output printed in my
logfile first time
--
cheers................Dave G
Mail to: "[EMAIL PROTECTED]"
==============================================
Thunderbird mail 1.0.7 - Gnome 2.12.1
Ubuntu 5.10 Linux - Kernel 2.6.12.6 (i386)
==============================================