|
|
Pass arguments and run GUI AppleScripts via cron
That should read: the previous submitted script doesn't work for me because of limitations with recurring events, a fault which the author acknowledges and is iCal's fault. What I've done is made a new folder at ~/Library/Scripts/Folder Action Scripts/Action Folders which houses a new empty folder for each script I want to run from the cron. I have then modified the shell script to hardcode that path so I only need to specify the empty folder name as the first argument. I've been advised it might have been a good idea to set that path as a shell variable to avoid typing it each time. In any case to record any radio stream now all I have to do is use this command
...or similar variant. Issuing STOP as the second argument stops the recording so now I have one script to start and stop which is a lot neater. --- |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|