git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/1] maintenance: fix launchctl calendar intervals

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 23, 2025, 20:31 UTC
Message-ID
<xmqqmsc6wrf8.fsf@gitster.g>
In-Reply-To
<d5cdcfe0-5dd1-46ed-9860-a9949bd6b3b5@gmail.com>
Derrick Stolee <stolee@gmail.com> writes:
Show 15 quoted lines
> On 4/21/2025 1:42 PM, Junio C Hamano wrote:
>> Josh Heinrichs <joshiheinrichs@gmail.com> writes:
>> 
>>> When using the launchctl scheduler, the weekly job runs daily, and the
>>> daily job runs on the first six days of each month. This appears to be
>>> due to specifying "Day" in the calendar intervals, which according to
>>> launchd.plist(5) is for specifying days of the month rather than days of
>>> the week. The behaviour of running a job on the 0th day is undocumented,
>>> but in my testing appears to be the same as not specifying "Day" in the
>>> calendar interval, in which case the job will run daily.
>>>
>>> Use "Weekday" in the calendar intervals, which is the correct way to
>>> schedule jobs to run on specific days of the week.
>
> Wow, good find! Thank you for submitting a fix for this issue.

Yes, good find indeed. Tweaked in your Acked-by and will merge to 'next'.

Thanks, all.
Previous: Derrick Stolee
Message 5 of 5 in “maintenance: fix launchctl calendar intervals”
  1. 0/1 maintenance: fix launchctl calendar intervalsJosh Heinrichs, Apr 21, 2025
  2. 1/1 maintenance: fix launchctl calendar intervalsJosh Heinrichs, Apr 21, 2025
  3. Junio C HamanoApr 21, 2025
  4. Derrick StoleeApr 23, 2025
  5. Junio C HamanoApr 23, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.