On 02/05/2010 06:44 AM, Kinzel, David wrote:
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]

I apologize, I should have taken an extra minute to re-read my
message.  I
am trying to work with timezones and cron together.  IE Server is on
CST,
needs to run reports at 4pm in EST, CST, MST, and PST.


Is there reason why 0 * * * * [ `TZ=CST date "+%H"` -eq 16 ]&&  (myjob)
would not
satisfy your needs -- it's not a super clean solution but it does work
and should be easy to maintain.


It's worth noting that `date +%` doesn't work in cron. You'll have to put it in a script then call the script via cron.

--
Tim

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to