Amar <[email protected]> wrote: > > > > On 18 Jul 18, at 6:26 AM, Colin Percival <[email protected]> wrote: > > > > but is there a file ~/Library/LaunchAgents/com.tarsnap.gui.plist > > under your home directory? > > > > Yes, it is there. Here’s the content: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" > "http://wwwapple.com/DTDs/PropertyList-1.0.dtd"> > <!-- Tarsnap GUI launchd script for running Tarsnap scheduled Jobs every > day at 10AM. Copy to appropriate path and load with: > $launchctl load ~/Library/LaunchAgents/com.tarsnap.gui.plist > --> > <plist version="1.0"> > <dict> > <key>Label</key> > <string>com.tarsnap.gui</string> > <key>ProgramArguments</key> > <array> > > <string>/usr/local/Cellar/tarsnap-gui/1.0/Tarsnap.app/Contents/MacOS/Tarsnap</string> > <string>--jobs</string> > </array> > <key>StartCalendarInterval</key> > <dict> > <key>Hour</key> > <integer>10</integer> > <key>Minute</key> > <integer>0</integer> > </dict> > <key>WorkingDirectory</key> > <string>/Users/amar/Downloads/</string> > <key>StandardOutPath</key> > <string>/Users/amar/Library/Logs/tarsnap-gui.log</string> > <key>StandardErrorPath</key> > <string>/Users/amar/Library/Logs/tarsnap-gui.log</string> > </dict> > </plist>
launchd is no fun. :( Can you check the file at /Users/amar/Library/Logs/tarsnap-gui.log and see if there are any clues? And, as per previous mail, can you please use something like Launch Control app to confirm that the tarsnap-gui job is both 'loaded' *and* 'enabled'? (launchd distinguishes between loaded and enabled, and I think jobs need to be both.) A graphical interface to launchd should also allow you to 'run' the job, and it will report any errors, or log them to the log file, above.
