Date: Sun, 24 May 2009 01:48:31 -0300 From: Gustavo De Nardin <gustavodn@gmail.com> To: freebsd-questions@freebsd.org Cc: Sarah.Varney@marketmentat.com Subject: Re: Crontab for different ime zones Message-ID: <50af0a260905232148qf11e533q4c0143d6bcc044c0@mail.gmail.com> In-Reply-To: <1243136795.29198.42.camel@ubuntu> References: <1243136795.29198.42.camel@ubuntu>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/24 GT <catch.all@marketmentat.com>: > Late entry to this thread, but... > > I thought I had found an answer to this; at present I think I might have > been mistaken. > > My crontab has about a dozen jobs that need to run in > TZ=3DAmerica/New_York, and another dozen that ideally want > TZ=3DAustralia/Sydney... the server default is America/Chicago. [snip] > =C2=A0 =C2=A0TZ=3DAustralia/Sydney > =C2=A0 =C2=A0* 13 * * * date >> /home/mysite/public_html/tmp/log.txt 2>&1 > > cron will NOT run the script... I bet it will wait until 13:00 CHICAGO > time. > > I have a feeling that I am missing something relatively simple - at > which point my dream of a super-cron will be realised and the stupidity > of DST can be ignored (as it ought to be... ). I also bet that someone > else has worked this out already, somewhere in the internets tubes... > but i have been unable to find it. I don't think the regular cron works like that. Check out ports/sysutils/fcron (man 5 fcrontab .. OPTIONS .. timezone ..). --=20 (nil)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50af0a260905232148qf11e533q4c0143d6bcc044c0>