Hi Guys,
trying to run a script for syncing files with lftp at midnight everyday.
got the script to work
now trying to use lingon to do the scheduling process.
the script works fine in terminal but i got error message in lingon...
any clue?
thanks a lot,
Toby
<?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>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin</string>
</dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>
<string>com.leafletsync.services</string>
<key>LaunchOnlyOnce</key>
<false/>
<key>LimitLoadToSessionType</key>
<array>
<string>LoginWindow</string>
</array>
<key>ProgramArguments</key>
<array>
<string>/Users/xtobyx/Desktop/VP_sync</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartOnMount</key>
<true/>
</dict>
</plist>