In message , A. Dumas
writes
>Is it possible that two different date programs are called? Maybe one
>is the program and the other a script or an alias? (although aliases
>don't work from a script). Are both run from a sudo context? One might
>be in a different $PATH. Try being very specific:
>
>/bin/date '+%T'
>echo "$(/bin/date '+%F %T %z') message"
It is possible I suppose, but one script picking up different instances
of a date executable depending on how it is being used I would have
thought is unlikely.
The script is being run by root as I need to access stuff that is only
accessible to root.
Adrian
--
To Reply :
replace "bulleid" with "adrian" - all mail to bulleid is rejected
Sorry for the rigmarole, If I want spam, I'll go to the shops
Every time someone says "I don't believe in trolls", another one dies.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|