[SunHELP] wierd cron behavior

Predrag Zecevic Predrag.Zecevic at 2e-systems.com
Mon Mar 29 09:06:15 CST 2004


Hi all,

We have one box running Solaris (SPARC) 9 12/02, patched few months ago. 
On the box we have GNU date program compiled by our selves (don't ask why).

If we run GNU date from CL, everything works fine and if we run GNU date 
from cron also works fine *but*

    cron was restarted using /etc/init.d/cron script and since then GNU
    date works with GMT zone instead of MET like before restart of cron?

Does anybody have idea why it (GNU date) changed behavior?

our /etc/TIMEZONE looks like:
-------------------------------------------------------- cut here ---
TZ=MET
CMASK=022
LC_COLLATE=en_US.ISO8859-1
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-1
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=en_US.ISO8859-1
-------------------------------------------------------- cut here ---
and it was modified last time during installation of the box ...

-- 
| Predrag Zecevic | e-Mail: Predrag.Zecevic at 2e-Systems.COM |
| 2e Systems GmbH |              Tel: (+49)[0]6107 989 415 |
|Im Taubengrund 12|              Fax: (+49)[0]6107 989 494 |
|65451 Kelsterbach|                                        |
|     Germany     |         Cellular: (+49)[0]174 3109 288 |
+=================+
Flugg's Law: When you need to knock on wood is when you realize that the world is composed of vinyl, naugahyde and aluminum.



More information about the SunHELP mailing list