Re: Fwd: Re: cron in UTC?

2014-10-09 Thread lee
Don Armstrong d...@debian.org writes: On Thu, 09 Oct 2014, lee wrote: Tony van der Hoff t...@vanderhoff.org 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

Re: Fwd: Re: cron in UTC?

2014-10-08 Thread lee
Tony van der Hoff t...@vanderhoff.org 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

Re: Fwd: Re: cron in UTC?

2014-10-08 Thread Don Armstrong
On Thu, 09 Oct 2014, lee wrote: Tony van der Hoff t...@vanderhoff.org 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

Re: Fwd: Re: cron in UTC?

2014-10-02 Thread Joel Rees
2014/10/01 21:29 Henrique de Moraes Holschuh h...@debian.org: 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

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. -- To

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 it

Re: cron in UTC?

2014-10-02 Thread Steve Litt
On Thu, 2 Oct 2014 14:01:34 +0100 Jonathan Dowland j...@debian.org 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

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 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: 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,

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 environment

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 pointer into that

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. Perhaps

Re: Fwd: Re: cron in UTC?

2014-09-30 Thread Joel Rees
2014/09/30 21:41 Henrique de Moraes Holschuh h...@debian.org: 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;

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 t...@vanderhoff.org To: Steve Litt sl...@troubleshooters.com On Wed, 24 Sep 2014 11:54:57 +0100 Tony van der Hoff t

Re: Fwd: Re: cron in UTC?

2014-09-29 Thread Joe Loiacono
Lisi Reisz lisi.re...@gmail.com 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.

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 to

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 (and change

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 think

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 to

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 setting,

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

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=UTC .

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

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

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

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 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 TZ=UTC .

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

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

Re: cron in UTC?

2014-09-24 Thread Steve Litt
On Wed, 24 Sep 2014 11:54:57 +0100 Tony van der Hoff t...@vanderhoff.org 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

Re: cron in UTC?

2014-09-24 Thread Curt
On 2014-09-24, Steve Litt sl...@troubleshooters.com 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

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. If you