image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old October 12th, 2009, 06:52 PM
Registered User
 
Join Date: Jul 2005
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
boognish is on a distinguished road
Scheduling workflows from Automator

I've created a workflow in Automator saved as an application which I'd like to run at varying times on Tuesday, Wednesday, Thursday, Friday and Saturday EVERY week. I've looked for solutions on Google, I found Anacron, which is good in the fact it runs in the background, but doesn't allow me to select times during the week for it to run, it just has the option of setting daily, weekly and monthly tasks which isn't flexible enough for my needs. I also read iCal does this, but it requires iCal to be running permanently, not as a daemon like Anacron, it also doesn't appear to allow me to set events on for example, 9am on Monday *indefinitely*, it appears to only allow a manual entry which I'd have to set up for each individual week.

So I'm wondering if anyone knows of an alternative that would meet my requirement? My OS is Leopard.

Thanks!
Reply With Quote
  #2  
Old October 12th, 2009, 06:58 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 12,672
Thanks: 7
Thanked 388 Times in 370 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
You may want to write a simple shell (bash, etc.) script that uses the command-line "osascript" to execute AppleScripts from the shell. Then, install that as a service, and use cron (deprecated, I believe) or launchd (preferred) depending on your OS X version to schedule and run the shell script.

More info on launchd:
http://developer.apple.com/macosx/launchd.html

A tiny tidbit on using osascript in the shell (text-search for 'osascript'):
http://macdevcenter.com/pub/a/mac/20...pting_osx.html

...it all depends on how comfortable you are with the shell and configuring cron/launchd services.
__________________
Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display
MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 18Mb/2Mb
http://www.jeffhoppe.com
Reply With Quote
The Following User Says Thank You to ElDiabloConCaca For This Useful Post:
boognish (October 12th, 2009)
  #3  
Old October 12th, 2009, 07:14 PM
Registered User
 
Join Date: Jul 2005
Posts: 48
Thanks: 2
Thanked 0 Times in 0 Posts
boognish is on a distinguished road
Thanks for the info, I'll give it a shot
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.