![]() I found this second Mac launchd plist file example on both of my MacOS systems: This is helpful when you use the launchctl command, as discussed in the earlier tutorial. Runs that script every minute, as given by the StartInterval tag.Runs a Unix shell script named /Users/al/bin/crontab-test.sh.A first Mac launchd/launchctl example (a launchd plist file)Īs a first MacOS launchd example, here's the Mac plist file I showed in my other tutorial:Īs mentioned in that Mac launchd tutorial tutorial, this launch plist script does the following things: As I started working with launchd and launchctl, I realized it would probably be helpful to see several different launchd examples, specifically launchd plist file examples. In an earlier tutorial ( MacOS startup jobs with crontab, launchctl, and launchd) I demonstrated how to use the MacOS launchd facility instead of cron to run what would normally be a cron (crontab) job. Apple/Mac launchd FAQ: Can you share some MacOS launchd examples (also written as launchd plist examples, or launchctl examples)?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |