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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/21/2025 1:42 PM, Junio C Hamano wrote:
> Josh Heinrichs <joshiheinrichs@xxxxxxxxx> 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.

Thanks,
-Stolee





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux