Help talk:Toolforge/Jobs framework

From Wikitech
Jump to navigation Jump to search

Tool maintainers email alias

In the Email notifications section it says that is an alias for tool maintainers'. As per Help:Toolforge/Email I think the correct address is, but I'm not 100% sure. I tried sending an email to the tool version (from Toolforge servers) and it didn't work, but it may have been something else. If someone could confirm before changing, I'd appreciate it. --Diegodlh (talk) 02:16, 27 February 2022 (UTC)Reply[reply]

@Diegodlh: It is indeed tools with an s. I've fixed the docs, thanks! Majavah (talk!) 10:13, 27 February 2022 (UTC)Reply[reply]

Option to specify log location

It seems logs are always put in the home directory of a tool. If you have a couple of jobs this can quickly load to a lot of log files in your home directory. Is there any way to specify another location that the framework should use to write log files (e.g. '~/logs')? Hay (talk) 09:14, 29 April 2022 (UTC)Reply[reply]

Not currently. But see phab:T301901 and phab:T304421. SD0001 (talk) 09:32, 8 August 2022 (UTC)Reply[reply]
phab:T304421 closed on October 28 as a duplicate of phab:T301901: Allow specifying the path for log files for jobs executed on the new toolforge Jobs framework. Wbm1058 (talk) 14:19, 12 November 2022 (UTC)Reply[reply]
I see that §Custom log files was added on 11 October 2022 by Arturo Borrero Gonzalez. Wbm1058 (talk) 20:20, 14 November 2022 (UTC)Reply[reply]

Cron syntax

Is it full cron syntax or just what is stated here? I mean 0 8 ? * MON#2 for every second Monday of the month, see

binbot (talk) 08:30, 12 February 2023 (UTC)Reply[reply]

@Bináris The Kubernetes specification doesn't explicitely specify which cron syntax is allowed, but looking at the source code it looks like it's using the standard mode of, which corresponds with what's listed as 'standard' on the Wikipedia page.
The StackOverflow link you posted seems to be for the 'Quartz' syntax, which is not supported. You might find this more helpful: Majavah (talk!) 10:14, 12 February 2023 (UTC)Reply[reply]

@Majavah This looks sophisticated. :-) Great, thank you very much for your effort to look inside! binbot (talk) 14:00, 14 February 2023 (UTC)Reply[reply]