switching timezone within crontab?
Noel Jones
noeldude at gmail.com
Fri Mar 3 21:04:40 PST 2006
On 3/3/06, Danny Howard <dannyman at toldme.com> wrote:
> Hey,
>
> So, we have systems running in Eastern and Pacific time zones as their
> local time, not to mention DST. So, we like to schedule a few things
> with UTC to save our sanity.
>
> If a system is not running UTC as its locale, but I want to schedule a
> UTC cron job in crontab, is it sufficient to put a little:
> TZ=UTC
> Right before the job?
>
Pretty sure the above will only set the timezone for your job, and not
alter the schedule time. But I don't know a solution to your problem.
--
Noel Jones
More information about the freebsd-questions
mailing list