i have script wan set 3:30am daily , run @ set time runs on every restart of computer not want.
how make work schedule in place , not run on every startup of computer?
here's plist:
code:
<?xml version="1.0" encoding="utf-8"?> <!doctype plist public "-//apple//dtd plist 1.0//en" "http://www.apple.com/dtds/propertylist-1.0.dtd"> <plist version="1.0"> <dict> <key>label</key> <string>com.xxxxx.xxxx</string> <key>programarguments</key> <array> <string>/library/scripts/script.sh</string> </array> <key>startcalendarinterval</key> <dict> <key>minute</key> <integer>30</integer> <key>hour</key> <integer>3</integer> </dict> </dict> </plist>
does occur every time or when have computer tuned off @ 3:30? if that's intended feature of startcalendarinterval not miss scheduled job if computer has been turned off. man page:
there may key can add prevent this, i'm not aware of though.
Forums Macs Mac Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
Comments
Post a Comment