[ROOT] (linux problem) A question on SetTimeOffset() and cron

From: Tome Anticic (Tome.Anticic@cern.ch)
Date: Fri Nov 29 2002 - 18:40:51 MET


Hi Rooters,

This is most probably more a Linux question than a ROOT question, but
any help would be appreciated:

I use in a ROOT program the command 

gStyle->SetTimeOffset(3600) 

to compensate the absolute time for timezone differences (in this case by
one hour, i.e. 3600 sec).

This works perfectly fine.

However, for various reasons I have to run this program as a cron job.
Then this time offset has no influence at all. Everything else seems
to work fine, except for this. Does anybody have an idea what is going on?
In the cron job, as it does not initialise any variables, I source
/etc/profile, /home/tanticic/.bash_profile and /home/tanticic/.bashrc, but
the problem remains.



	Tome



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:21 MET