Skip to content

feat: Crontab and Homebrew Services management#4

Open
Sean10000 wants to merge 1 commit into
mainfrom
feature/cron-homebrew
Open

feat: Crontab and Homebrew Services management#4
Sean10000 wants to merge 1 commit into
mainfrom
feature/cron-homebrew

Conversation

@Sean10000

Copy link
Copy Markdown
Owner

Summary

  • Add Crontab sidebar module: browse, create, edit, enable/disable, and delete user (crontab -l) and system (/etc/crontab) cron jobs with grouped UI matching Launch Agents.
  • Add Homebrew Services sidebar module: list, start, stop, and restart brew services for user and system scopes via brew services list --json.
  • System-level writes (system crontab, root brew services) reuse existing PrivilegeService admin password prompt, same as system LaunchAgents.

Test plan

  • Build and run in Xcode (⌘R)
  • Crontab → 用户: create/edit/disable/delete a cron job; verify with crontab -l
  • Crontab → 系统: create/edit a system job; confirm admin password prompt; verify /etc/crontab
  • Homebrew Services → 用户: start/stop/restart an installed service (e.g. colima); verify with brew services list
  • Homebrew Services → 系统: start/stop a service; confirm admin password prompt
  • Search works in both new views; sidebar badges update after refresh
  • Run unit tests: CrontabParserTests, BrewServicesServiceTests

Expose user/system crontab editing and brew services start/stop/restart in the sidebar, reusing PrivilegeService for system-level writes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant