• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Launched hassles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launched hassles


  • Subject: Launched hassles
  • From: Brian Christmas <email@hidden>
  • Date: Mon, 19 Jun 2017 14:20:29 +1000

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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Next by Date: Scroll Text Field
  • Next by thread: Scroll Text Field
  • Index(es):
    • Date
    • Thread