I have created this
.plist for opening an application at a specific time every day – or the next time the computer wakes from sleep.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>caffeine-timecontrol.job</string> <key>ProgramArguments</key> <array> <string>/Applications/Caffeine.app/Contents/MacOS/Caffeine</string> </array> <key>StartCalendarInterval</key> <dict> <key>Minute</key><integer>40</integer> <key>Hour</key><integer>7</integer> <key>WeekDay</key><integer>1234567</integer> </dict> </dict> </plist>
The above is supposed to wake app
However, can I also include a clause to make the application terminate at
Every day if the computer is awake?
Meaning, is there an opposite to
StartCalendarInterval, or would I have to go about it some other way, .e.g. via