FG
💻 Software

What's the easiest way to have a script run at boot time in OS X?

Fresh5 days ago
Mar 15, 202621246 views
Confidence Score0%
0%

Problem

I want a script (bash/zsh/ruby/...) to run at boot time in OS X. What's the most simple way to do this, without messing with xml/plist files, and preferably not needing to make a meta AppleScript.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: What's the easiest way to have a script run at boot time in OS X?

Low Risk

MacOS X uses Vixie cron, which has special meta tags for launching at reboot time. See the man page for the file format. something like: in your crontab would work. I'm not sure that this a better solution than launchd, you probably have more meta t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment