Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-22 Thread John Campbell
I don't know if this has been suggested yet, but I run cron on UTC, which doesn't do daylight saving time. It's an option in cronie to set the TZ for crontab. I just have to transcode times from local to UTC when setting up the job.

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-07 Thread Neil Bothwick
On Tue, 07 Nov 2017 08:48:22 +, Mick wrote: > Apologies for prolonging this exhaustive and exhausting thread, but > what is the Gentoo suggested cron application for a non-24-7 desktop > these days? I'm still using sys-process/vixie-cron because I guess > that's what was de rigueur at the

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-07 Thread Mick
On Monday, 6 November 2017 23:11:44 GMT Rich Freeman wrote: > On Mon, Nov 6, 2017 at 10:45 AM, Ian Zimmerman wrote: > > On 2017-11-05 17:17, Rich Freeman wrote: > >> Distros will always have to do integration work, and that is fine. > >> That is the role of a distro. And

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-06 Thread Rich Freeman
On Mon, Nov 6, 2017 at 10:45 AM, Ian Zimmerman wrote: > On 2017-11-05 17:17, Rich Freeman wrote: > >> Distros will always have to do integration work, and that is fine. >> That is the role of a distro. And sometimes distros have to roll >> their own tools when they just

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Rich Freeman
On Sun, Nov 5, 2017 at 4:40 PM, Ian Zimmerman wrote: > On 2017-11-05 14:22, Rich Freeman wrote: > >> Second, my actual objection is more to sticking wrappers around an >> upstream program just to extend its capabilities, when other software >> is maintained upstream that

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Alan McKinnon
On 05/11/2017 17:11, Rich Freeman wrote: > On Sun, Nov 5, 2017 at 6:43 AM, Alan McKinnon wrote: >> >> There are other schedulers out there that succeed where cron fails (eg >> Control-M, chronos, quartz), but those are all large, bulky, designed >> for big complex

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Rich Freeman
On Sun, Nov 5, 2017 at 8:10 AM, Ian Zimmerman wrote: > On 2017-11-05 07:11, Rich Freeman wrote: > >> But, I agree that it makes far more sense to just have desktop users >> use an appropriate cron implementation designed to handle the machine >> being off most of the time

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Kai Peter
On 2017-11-05 18:12, Neil Bothwick wrote: On Sun, 05 Nov 2017 17:56:56 +0100, Kai Peter wrote: OT: Seems that since the last update of my MUA the formatting of my mails is broken - at least at reply's. There are extra line breaks. G - if you not do everything by

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Neil Bothwick
On Sun, 05 Nov 2017 17:56:56 +0100, Kai Peter wrote: > OT: Seems that since the last update of my MUA the formatting of my > > mails is broken - at least at reply's. There are extra line breaks. > > G - if you not do everything by yourself ... ;-) ... at least you have someone else to

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Kai Peter
There are other schedulers out there that succeed where cron fails (eg Control-M, chronos, quartz), but those are all large, bulky, designed for big complex installs/requirements and probably not suited for simple things you'd deploy out of a base in portage Long time

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Rich Freeman
On Sun, Nov 5, 2017 at 6:43 AM, Alan McKinnon wrote: > > There are other schedulers out there that succeed where cron fails (eg > Control-M, chronos, quartz), but those are all large, bulky, designed > for big complex installs/requirements and probably not suited for

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Alan McKinnon
On 05/11/2017 16:28, Kai Peter wrote: > > > On 2017-11-04 18:42, Ian Zimmerman wrote: > >> On 2017-11-04 01:39, Kai Peter wrote: > >> > >>> > If you want to run a monthly job on a host that is not always on, do > >>> > you have to pretend it's an hourly job and check in the script > >>> >

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Kai Peter
On 2017-11-04 18:42, Ian Zimmerman wrote: On 2017-11-04 01:39, Kai Peter wrote: > If you want to run a monthly job on a host that is not always on, do > you have to pretend it's an hourly job and check in the script > itself? This is a special case to me. IMHO special

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-03 Thread Kai Peter
On 2017-11-03 18:21, Ian Zimmerman wrote: On 2017-11-03 02:53, Kai Peter wrote: 2. the shell script have to do some checks, e.g. the last run - I did wrote a small 'include' script for that Isn't your 'small include script' just another implementation of run-crons? No.

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-01 Thread Michael Orlitzky
On 11/01/2017 12:55 PM, Ian Zimmerman wrote: > > I actually run cronie, and AFAICT it has no built-in anacron-like > offline schedule support If you build cronie with USE=anacron, I think it also comes with an "anacron" executable:

Re: [gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-01 Thread Marc Joliet
Am Sonntag, 29. Oktober 2017, 18:59:31 CET schrieb Ian Zimmerman: > On 2017-10-29 09:16, Michael Orlitzky wrote: > > Do you need something smarter? Install anacron, fcron, cronie, or > > whatever. But the worst thing we can do is try to mimic those > > intelligent crons and have it fail to do so