I suspect that the script running from cron is messing with the timezone.
In case your cron is not set up correctly, please try a one-off script run form cron with output redirected to a file and containing these two commands:
date
set
Then compare the date of the log file with the output from the date command taking into account the value of $TZ .
returned empty, i checked my .profile
here is how it looks
infodba-ie10ux014:/home/infodba\n\r-> cat .profile
# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.
# Raghu added the new PATH /SPLM/tcadmin/bin
export EDITOR=vi
MAIL=/usr/mail/${LOGNAME:?}
. $HOME/.kshrc
PATH=/tcpdv1_ie10/tcadmin/bin:$HOME/bin:/usr/X/bin:$PATH
PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin
PATH=$HOME/bin:/usr/X/bin:$PATH
set -o vi
# Disabled until server share is enabled
aview
UGS_LICENSE_SERVER=xxxx@XXXXXXXXX; export UGS_LICENSE_SERVER
# FMS_HOME=/SPLM/Teamcenter83/fcc; export FMS_HOME
Hello Methyl
I executed the cron script as you suggested, from the output this what i get for TZ
TZ=Asia/Calcutta
when i directly execute the date command from shell i get
infodba-ie10ux014:/home/infodba\n\r-> date
Wed Apr 25 12:12:16 GMT 2012
Since my Timezone is Asia/Calutta, does teh GMT need to be changed?,
Raghu
---------- Post updated at 04:09 AM ---------- Previous update was at 01:43 AM ----------
i checked my /etc/TIMEZONE
# be enclosed in double quotes (") or single quotes (').
#
TZ=Asia/Calcutta
CMASK=022
LANG=en_US.UTF-8