-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Request
Summary
Add support for Scheduled type (using StartCalendarInterval or StartInterval) when creating a new service, in addition to the currently supported RunAtLoad type.
Problem
Currently, the New Service feature only supports creating services with the RunAtLoad type. Users who need to create scheduled/periodic launchd services must manually edit the plist file after creation, which defeats the purpose of having a GUI tool.
Proposed Solution
Add a Scheduled type option in the New Service creation flow that allows users to:
- Choose between
RunAtLoadandScheduledas the service type - Configure schedule parameters when
Scheduledis selected:- StartCalendarInterval: Set specific calendar-based schedules (e.g., every day at 3:00 AM, every Monday, etc.)
- Minute, Hour, Day, Weekday, Month fields
- StartInterval: Set a simple interval in seconds (e.g., run every 3600 seconds)
- StartCalendarInterval: Set specific calendar-based schedules (e.g., every day at 3:00 AM, every Monday, etc.)
Expected Behavior
- In the New Service form, a type selector should allow choosing between
RunAtLoadandScheduled - When
Scheduledis selected, additional schedule configuration fields should appear - The generated plist should include the appropriate
StartCalendarIntervalorStartIntervalkeys instead of (or in addition to)RunAtLoad
Additional Context
launchd supports multiple scheduling mechanisms as documented in Apple's launchd.plist man page. Supporting these in the GUI would make LaunchPal a more complete tool for managing macOS services.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request