G’day scripters
Is there an error with ‘Launched’?
I have a .plist in Users LaunchAgents that runs every 30 seconds if set to 2 minutes, and every minute if set to 3 or any number above.
I want it to run every 2 minutes, but it seems impossible.
There’s a 1 minute delay in the app it calls, then the App dismisses itself from the processes. Even without the dismissal, it still faulted.
I’ve tried altering the times right up to 36 minutes with the ‘LaunchControl’ App. no effect.
Any advice please?
Running latest Sierra, and executed re-install of OS.
Regards
Santa
try
do shell script ("launchctl unload ~/Library/LaunchAgents/com.CCC.Runner.plist")
on error errmsg
display dialog errmsg
end try
do shell script ("sleep 1")
myDict's writeToFile:PPath atomically:true
do shell script ("sleep 1")
try
do shell script ("launchctl load ~/Library/LaunchAgents/com.CCC.Runner.plist")
on error errmsg
display dialog errmsg
end try