I need to synchronize the running of certain jobs on my server (in Americas) with a server in Europe. Switching to daylilght saving time is done on deifferent dates, so I want to use UTC to run the jobs, without changing my servers timezone to UTC.
I created a user that has export TZ=UTC in its .profile, which gives UTC time when running 'date' command, but the jobs in his crontab still run in EDT.
Does AIX support the CRON_TZ entry in crontab? It does not give an error but the cronjobs still run in EDT.
Any help appreciated.
romeo_ninov 110000Q22M31 Posts
Re: cron jobs in UTC2013-03-21T07:10:49ZThis is the accepted answer. This is the accepted answer.The variables you set are related to user, not to cron daemon. TO set environment variable for daemon you should implement special script, which will start the daemon. Or you should implemet external solution like ControlM
The_Doctor 2700018ASD100 Posts
Re: cron jobs in UTC2013-03-21T12:30:59ZThis is the accepted answer. This is the accepted answer.Have you considered setting up a unique LPAR.... with minimal memory & minimal entitlement ? Run that LPAR in TZ=GMT & co-ordinate activities with your European counterpart.