grindstone - Sep 6, 2007 - 6:43 pm
I need to have an AFP shared volume to mount at a scheduled time daily - basically I need for my computer to come on at 7am - and at 9am mount the drive - please help
macbri - Sep 8, 2007 - 8:01 pm
Hi -
Do you have Mac OS X Tiger (10.4)? If so, scheduling your machine to come on is easy:
Open System Preferences. Select "Energy Saver", and then click on the "Schedule" button in the bottom right of the preference pane. Click to enable the "Start up or wake" button and select the time you wish your machine to power on.
To automatically mount the AFP share, there's a script at
http://scriptbuilders.net/files/mountafpshares1.0.html which claims to do just that, and you can read about scheduling applications to run automatically using iCal at this link:
http://www.macosxhints.com/article.p...50504105901868
I hope that helps!
grindstone - Sep 10, 2007 - 9:47 pm
Thank you for your thoughts - unfortunately it did not work...the application did not work and maybe my question was not clear- with the computer already I would like at a set time for the afp share to mount - Thank you again!
macbri - Sep 11, 2007 - 8:33 pm
Hi there -
Can you be a little more specific about what "didn't work"? Did the application fail to launch, did you see any error on screen, did you see anything happen, did any error message appear in the system logs (launch /Applications/Utilities/Console.app and then try to run your application again)?
So did you read the link I found on running jobs automatically with iCal? This shows how to schedule an application or script to run at a scheduled time. So once you get the "mount AFP" application working, scheduling it to run at 9am every day, for example, should be relatively straightforward.
grindstone - Sep 11, 2007 - 9:55 pm
the application that you referred me to did not work - it would freeze and cause the application and the finder to have to be forced quit - the reviews on it stated that this was a common problem with that particular application -
macbri - Sep 14, 2007 - 2:36 pm
The Automator application in OS X 10.4 can be used to create a workflow to mount an AFP share. Try opening /Applications/Automator.app and then do as follows:
(1) From the Library panel on the left, select "Finder". In the "Action" panel you should see an entry named "Get Specified Servers". Drag this into the empty panel on the right. Click the plus sign at the bottom of the panel that appears, and fill in the server details you wish to connect to
(2) From the Action panel, drag the action named "Connect to servers" into the panel on the right, making sure it's placed UNDER the "Get Specified Servers" panel that you just added.
(3) Test this with the big "Run" button at the top right of the Automator window.
(4) Assuming all goes well, from the Automator menu select File -> Save As and make sure you select "Application" as the file format.
You now have a runnable aplication which will mount the AFP you want.
At this point, all we need to so is get iCal to run it automatically for you, and once you get this bit working we'll work on that next.