Timeline for Run Shell Scripts on a Schedule
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 14, 2022 at 16:55 | answer | added | ccpizza | timeline score: 2 | |
Aug 21, 2021 at 21:39 | answer | added | TJ Luoma | timeline score: 3 | |
Aug 21, 2021 at 21:25 | comment | added | Alana Storm | That's good to know @GordonDavisson -- this particular question was prompted by an issue with setting up a new cron job that was silently failing, leaving me guessing as to what was causing the failure and being unable to rule out System Integrity Protection (even though a second cron job is running fine). If launchd suffers the same sorts of issues that's good to know. A bummer, but still good to know. | |
Aug 21, 2021 at 20:47 | comment | added | Gordon Davisson |
launchd jobs are subject to the same permissions restrictions as cron jobs (see "How to run a LaunchAgent that runs a script which causes failures because of System Integrity Protection", for example). Personally, I don't see any great need to switch from cron , if that's what you're more comfortable with (at least at this point). But if you do need to switch, launchd is definitely the system to switch to.
|
|
Aug 21, 2021 at 20:10 | comment | added | user3439894 |
Apple recommends using launchd and while it's a bit of a handful learning it from the various manual pages around it, launchctl , launchd.plist and launchd , there are third-party applications that present a GUI interface to it. One of which that I've used in the past is Lingon, however there are a few more of them out there.
|
|
Aug 21, 2021 at 20:01 | history | asked | Alana Storm | CC BY-SA 4.0 |