Re: Cron still playing games
Re: Cron still playing games
- Subject: Re: Cron still playing games
- From: Philip Aker <email@hidden>
- Date: Thu, 24 Sep 2009 21:16:15 -0700
On 2009-09-24, at 17:34:41, Robert Poland wrote: This script is not sounding on the hour any more. Last one was at 6:26PM.
<?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>Label</key> <string>com.rpoland.playMantelSound</string> <key>Program</key> <string>/bin/sh</string> <key>ProgramArguments</key> <array> <string>sh</string> <string>-c</string> <string>/usr/bin/osascript /Library/Scripts/Universal\ Scripts/playMantelSound.app</string> </array> <key>StartCalendarInterval</key> <dict> <key>Minute</key> <integer>0</integer> </dict> </dict> </plist>
Hi Bob,
I have a script called "SayCurrentTime.scpt" located in /Library/Scripts. The script itself is:
say (time string of (current date))
I execute this script from a LaunchAgent plist that looks very much like the one above and it works. The only differences are the obvious ones: the label, the name of the plist file on disk, and the path to the script.
I don't know what is wrong with your agent/script. The only thing I can suggest is to look in the Console application in the "Console Messages" category for lines containing the label (com.rpoland.playMantelSound) of your agent.
Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden