Re: Fwd: Re: cron in UTC?

2014-10-09 Thread lee
Don Armstrong writes: > On Thu, 09 Oct 2014, lee wrote: >> Tony van der Hoff writes: >> >> > GMT/BST; I just want cron to trigger tasks at a fixed time each day, >> > regardless of localtime. >> >> man cron: >> >>It is possible to use different time zones for crontables. See >>

Re: Fwd: Re: cron in UTC?

2014-10-08 Thread Don Armstrong
On Thu, 09 Oct 2014, lee wrote: > Tony van der Hoff writes: > > > GMT/BST; I just want cron to trigger tasks at a fixed time each day, > > regardless of localtime. > > man cron: > >It is possible to use different time zones for crontables. See >crontab(5) for more information.

Re: Fwd: Re: cron in UTC?

2014-10-08 Thread lee
Tony van der Hoff writes: > GMT/BST; I just want cron to trigger tasks at a fixed time each day, > regardless of localtime. man cron: It is possible to use different time zones for crontables. See crontab(5) for more information. man 5 crontab: The CRON_TZ variable spec

Re: cron in UTC?

2014-10-02 Thread Karl E. Jorgensen
Hi On Thu, Oct 02, 2014 at 09:20:26PM +0100, Jonathan Dowland wrote: > On Thu, Oct 02, 2014 at 02:16:06PM -0400, Steve Litt wrote: > > Thanks Jonathan. I use Docker from time to time, but never knew about > > LXC. If I use LXC experimentally, what's a good, simple, proof of > > concept use case?

Re: cron in UTC?

2014-10-02 Thread Jonathan Dowland
On Thu, Oct 02, 2014 at 02:16:06PM -0400, Steve Litt wrote: > Thanks Jonathan. I use Docker from time to time, but never knew about > LXC. If I use LXC experimentally, what's a good, simple, proof of > concept use case? Well it isn't doing anything useful but I created a generic linux guest using

Re: cron in UTC?

2014-10-02 Thread Steve Litt
On Thu, 2 Oct 2014 14:01:34 +0100 Jonathan Dowland wrote: > On Thu, Oct 02, 2014 at 09:29:35PM +0900, Joel Rees wrote: > > There's the real problem, and the one that has stopped me in the > > past -- hardware to set up the dev and test environments. The > > hardware I have might be able to handle

Re: Fwd: Re: cron in UTC?

2014-10-02 Thread Henrique de Moraes Holschuh
On Thu, 02 Oct 2014, Jonathan Dowland wrote: > On Thu, Oct 02, 2014 at 09:29:35PM +0900, Joel Rees wrote: > > There's the real problem, and the one that has stopped me in the past -- > > hardware to set up the dev and test environments. The hardware I have might > > be able to handle chroots, but i

Re: Fwd: Re: cron in UTC?

2014-10-02 Thread Jonathan Dowland
On Thu, Oct 02, 2014 at 09:29:35PM +0900, Joel Rees wrote: > There's the real problem, and the one that has stopped me in the past -- > hardware to set up the dev and test environments. The hardware I have might > be able to handle chroots, but it won't do VMs. Too old. LXC is worth a look. --

Re: Fwd: Re: cron in UTC?

2014-10-02 Thread Joel Rees
2014/10/01 21:29 "Henrique de Moraes Holschuh" : > > On Wed, 01 Oct 2014, Joel Rees wrote: > > Should I use this as my excuse to actually join the dev team, in spite of > > my misgivings about systemd and the API creep? > > Only if you promisse me you are never going to mention systemd again on the

Re: Fwd: Re: cron in UTC?

2014-10-01 Thread Henrique de Moraes Holschuh
On Wed, 01 Oct 2014, Joel Rees wrote: > Should I use this as my excuse to actually join the dev team, in spite of > my misgivings about systemd and the API creep? Only if you promisse me you are never going to mention systemd again on the communication threads where fcron work is taking place, exc

Re: Fwd: Re: cron in UTC?

2014-09-30 Thread Joel Rees
2014/09/30 21:41 "Henrique de Moraes Holschuh" : > > On Tue, 30 Sep 2014, Tony van der Hoff wrote: > > On 30/09/14 11:57, Henrique de Moraes Holschuh wrote: > > > On Mon, 29 Sep 2014, Don Armstrong wrote: > > >> On Mon, 29 Sep 2014, John Hasler wrote: > > >>> Tony van der Hoff writes: > > Beli

Re: Fwd: Re: cron in UTC?

2014-09-30 Thread Henrique de Moraes Holschuh
On Tue, 30 Sep 2014, Tony van der Hoff wrote: > On 30/09/14 11:57, Henrique de Moraes Holschuh wrote: > > On Mon, 29 Sep 2014, Don Armstrong wrote: > >> On Mon, 29 Sep 2014, John Hasler wrote: > >>> Tony van der Hoff writes: > Believe me; I've beaten that man to death, but not found the answer

Re: Fwd: Re: cron in UTC?

2014-09-30 Thread Tony van der Hoff
On 30/09/14 11:57, Henrique de Moraes Holschuh wrote: > On Mon, 29 Sep 2014, Don Armstrong wrote: >> On Mon, 29 Sep 2014, John Hasler wrote: >>> Tony van der Hoff writes: Believe me; I've beaten that man to death, but not found the answer. Perhaps you'd like to give a more detailed pointe

Re: Fwd: Re: cron in UTC?

2014-09-30 Thread Henrique de Moraes Holschuh
On Mon, 29 Sep 2014, Don Armstrong wrote: > On Mon, 29 Sep 2014, John Hasler wrote: > > Tony van der Hoff writes: > > > Believe me; I've beaten that man to death, but not found the answer. > > > Perhaps you'd like to give a more detailed pointer into that manual? > > > > See the part about setting

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Don Armstrong
On Mon, 29 Sep 2014, John Hasler wrote: > Tony van der Hoff writes: > > Believe me; I've beaten that man to death, but not found the answer. > > Perhaps you'd like to give a more detailed pointer into that manual? > > See the part about setting environment variables. You should be able to > set T

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Chris Bannister
On Mon, Sep 29, 2014 at 05:13:48PM +0100, Lisi Reisz wrote: > On Monday 29 September 2014 17:01:31 Tony van der Hoff wrote: > > well, it's my understanding that the system (hardware)  time is always > > UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm > > misunderstanding you.

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Lisi Reisz
On Monday 29 September 2014 17:50:59 Tony van der Hoff wrote: > I think you do dpkg-reconfigure tzdata, and select Europe/London. There > is no option for GMT, specifically. Thus you get the twice-yearly hassle > of DST. Ah! I configure localtime via my DE (TDE) and get the option of whether I w

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread John Hasler
Put your tasks in /etc/crontab and set the system time to UTC. Use each user's TZ variable to set time zones for them. -- John Hasler jhas...@newsguy.com Elmwood, WI USA -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Martin Read
On 29/09/14 17:13, Lisi Reisz wrote: On Monday 29 September 2014 17:01:31 Tony van der Hoff wrote: well, it's my understanding that the system (hardware) time is always UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm misunderstanding you. Erm What do you think we w

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:29, John Hasler wrote: > Tony van der Hoff writes: >> Believe me; I've beaten that man to death, but not found the answer. >> Perhaps you'd like to give a more detailed pointer into that manual? > > See the part about setting environment variables. You should be able to > set TZ=UT

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread John Hasler
Tony van der Hoff writes: > Believe me; I've beaten that man to death, but not found the answer. > Perhaps you'd like to give a more detailed pointer into that manual? See the part about setting environment variables. You should be able to set TZ=UTC . -- John Hasler jhas...@newsguy.com Elmwoo

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:30, Don Armstrong wrote: > On Mon, 29 Sep 2014, Tony van der Hoff wrote: >>> On Wed, 24 Sep 2014 11:54:57 +0100 >> On 24/09/14 16:01, Don Armstrong wrote: >>> My #1 suggestion is to have system time be GMT, and every shell/user set >>> TZ appropriately. That's basically the only sane

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:48, John Hasler wrote: > Tony van der Hoff writes: >> My problem is that cron works to localtime. I want my cron tasks to be >> triggered at the same time (UTC) each day, regardless of the current >> localtime, wherever I may be. > > man 5 crontab > Believe me; I've beaten that man

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
On 29/09/14 17:13, Lisi Reisz wrote: > On Monday 29 September 2014 17:01:31 Tony van der Hoff wrote: >> well, it's my understanding that the system (hardware) time is always >> UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm >> misunderstanding you. > > Erm What do you

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread John Hasler
Tony van der Hoff writes: > My problem is that cron works to localtime. I want my cron tasks to be > triggered at the same time (UTC) each day, regardless of the current > localtime, wherever I may be. man 5 crontab -- John Hasler jhas...@newsguy.com Elmwood, WI USA -- To UNSUBSCRIBE, email t

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Joe Loiacono
Lisi Reisz wrote on 09/29/2014 12:13:48 PM: > On Monday 29 September 2014 17:01:31 Tony van der Hoff wrote: > > well, it's my understanding that the system (hardware) time is always > > UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm > > misunderstanding you. > > Erm

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Don Armstrong
On Mon, 29 Sep 2014, Tony van der Hoff wrote: > > On Wed, 24 Sep 2014 11:54:57 +0100 > On 24/09/14 16:01, Don Armstrong wrote: > > My #1 suggestion is to have system time be GMT, and every shell/user set > > TZ appropriately. That's basically the only sane setting, as many time > > zones do DST (an

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Lisi Reisz
On Monday 29 September 2014 17:01:31 Tony van der Hoff wrote: > well, it's my understanding that the system (hardware)  time is always > UTC, but there is no way to set localtime to GMT (or UTC). Perhaps I'm > misunderstanding you. Erm What do you think we who live near Greenwich do??? Lisi

Fwd: Re: cron in UTC?

2014-09-29 Thread Tony van der Hoff
Sorry, sent to steve instead of list by mistake Original Message Subject: Re: cron in UTC? Date: Mon, 29 Sep 2014 16:18:35 +0100 From: Tony van der Hoff To: Steve Litt > On Wed, 24 Sep 2014 11:54:57 +0100 > Tony van der Hoff wrote: > >> Greetings, >>

Re: cron in UTC?

2014-09-24 Thread Brian
On Wed 24 Sep 2014 at 12:44:47 -0400, Steve Litt wrote: > Somebody once called something or other "string and bailing wire" or > some such. Well, that's exactly what my homegrown cron is. But it's > written in Python, managed by daemontools, so it's pretty easy to > modify to one's own needs. > >

Re: cron in UTC?

2014-09-24 Thread Curt
On 2014-09-24, Steve Litt wrote: > > Somebody once called something or other "string and bailing wire" or > some such. Well, that's exactly what my homegrown cron is. But it's > written in Python, managed by daemontools, so it's pretty easy to > modify to one's own needs. > I believe if you're ba

Re: cron in UTC?

2014-09-24 Thread Steve Litt
On Wed, 24 Sep 2014 11:54:57 +0100 Tony van der Hoff wrote: > Greetings, > > I carry my wheezy laptop over various timezones, and my VPS with which > it communicates is on the Europe/London zone, which uses DST. > > The result of this is that cron tasks, which are triggered by > localtime becom

Re: cron in UTC?

2014-09-24 Thread Don Armstrong
On Wed, 24 Sep 2014, Tony van der Hoff wrote: > I carry my wheezy laptop over various timezones, and my VPS with which > it communicates is on the Europe/London zone, which uses DST. > > The result of this is that cron tasks, which are triggered by > localtime become unsynchronised, and only by ar

cron in UTC?

2014-09-24 Thread Tony van der Hoff
Greetings, I carry my wheezy laptop over various timezones, and my VPS with which it communicates is on the Europe/London zone, which uses DST. The result of this is that cron tasks, which are triggered by localtime become unsynchronised, and only by arranging the task times very carefully can I