[Dxspider-support] crontab not honouring LOCALE =?utf-8?Q?=3D_?=LOCAL
Keith, G6NHU
g6nhu at me.com
Fri Apr 11 14:40:31 BST 2025
That’s not how I read it from Changes:
3. Add the ability to set the (time) locale to UTC or LOCALTIME by adding
the string LOCALE = UTC or LOCALE = LOCAL(TIME)? to your local crontab
NOTE: this will affect ALL timings in both the system as well as your
local crontabs. Changing the LOCALE will make no difference to the system
crontab other than using localtime rather than UTC. Which is fine by me.
On 11 Apr 2025 at 14:32 +0100, IZ2LSC via Dxspider-support <dxspider-support at tobit.co.uk>, wrote:
> "LOCALE = LOCAL" is just for setting the format of text, numbers, date, not for the timezone.
> In addition I think that the spider crontab is a little different from the system crontab, i.e. the */n schedule notation is not working.
>
> a.
>
>
> -->
>
>
> On Fri, Apr 11, 2025 at 11:32 AM Keith, G6NHU via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
> > Yup, correct, I’ve asked for local time.
> >
> > So when the crontab time says run something at 22:42, I expect it to run at 22:42 local time, whereas it ran at 23:42.
> >
> > 73 Keith.
> > On 11 Apr 2025 at 09:05 +0100, Dirk Koopman via Dxspider-support <dxspider-support at tobit.co.uk>, wrote:
> > > I’d forgotten it could do that. I’ll check the code when I get back home, but you have asked for local time, rather than UTC which is the default.
> > >
> > > Dirk G1TLH
> > >
> > > > On 11 Apr 2025, at 08:51, Keith, G6NHU via Dxspider-support <dxspider-support at tobit.co.uk> wrote:
> > > >
> > > > I have LOCALE = LOCAL in my crontab.
> > > >
> > > > I have Kin’s update script set to run at 22:42
> > > >
> > > > 42 22 * * 1,2,3,4,5 run_cmd("check_build Y 5")
> > > >
> > > > However, it ran and updated last night at 23:42
> > > >
> > > > I can see other files that I download using crontab appear to be an hour out as well.
> > > >
> > > > 73 Keith.
> > > >
> > > >
> > > > _______________________________________________
> > > > Dxspider-support mailing list
> > > > Dxspider-support at tobit.co.uk
> > > > https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> > > _______________________________________________
> > > Dxspider-support mailing list
> > > Dxspider-support at tobit.co.uk
> > > https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> > _______________________________________________
> > Dxspider-support mailing list
> > Dxspider-support at tobit.co.uk
> > https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20250411/f238f0dc/attachment.htm>
More information about the Dxspider-support
mailing list