Skip navigation

HT2488: Mac Basics: Automator

Learn about Mac Basics: Automator

HT2488 Automator - launch an app at specific time(s)?

3780 Views 9 Replies Latest reply: Mar 15, 2013 2:09 PM by fastprof RSS
HenryS Level 2 Level 2 (295 points)
Currently Being Moderated
Dec 23, 2012 7:20 AM

I get how to use a service or to build an application. But do you build to run at a specific time or day? I need to automate my server shutdown and MacMini shutdown when a server is involved due to active users restricting the System Prefs shutdown. I thought to automate the shutdown and successfully built a Shutdown_my_Server.app which can be totally automatic or require user input.

 

Now, how to execute/launch/run the app at a specific time??

Mac mini, OS X Mountain Lion, (3,1) 3GB RAM, 2GHz, C2D, JBOD Ext.
  • red_menace Level 6 Level 6 (14,275 points)
    Currently Being Moderated
    Dec 23, 2012 8:04 AM (in response to HenryS)

    You can use Calendar.app to launch your application at a specific or repeating date/time, or schedule a shutdown using the Energy Saver preference.

  • red_menace Level 6 Level 6 (14,275 points)
    Currently Being Moderated
    Dec 23, 2012 9:52 AM (in response to HenryS)

    Start the Calendar application and choose a date, then double-click at some time on the date to create a new event.  Once an event has been created, you can double-click on it or use Get Info to edit the event time, type of alert, if you want it to repeat, etc.  There are various ways that you can have the event alert or notify you when it happens - by using Open File, you can also choose an application that will be run.  The Calendar application does not need to be running for the scheduled events to do their thing.

  • red_menace Level 6 Level 6 (14,275 points)
    Currently Being Moderated
    Dec 23, 2012 12:21 PM (in response to HenryS)

    A Calendar Alarm workflow can be created in Automator, but it just uses the Calendar application.  You can also schedule your application using launchd (which is more or less what Calendar.app does), but it is a bit more technical.

  • fastprof Level 1 Level 1 (10 points)
    Currently Being Moderated
    Mar 14, 2013 7:49 PM (in response to HenryS)

    Red_menace tags something that I am having some trouble with.  I hace an automator app in my applications folder.  It opens a folder, then gets all the files in that folder and ftps those files to my ISP.  

     

    I have it as an app that I have selected in iCal as an "Alert".  I have it running every day.  Then I duplicated it and have it run each hour of each day.  (It's transferring weather data to my weather station website).

     

    Here's the problem.  It's doing that fine.  But each time it executes the Alert another box comes up that says something like "...iCal is not able to find the application "GetWeatherData.app"...."  Meanwhile, it not only has found the app it executes it. 

     

    I realize it's not a big deal, but it's annoying to find my display littered witth that message if I am away for a few hours.  I wonder if anyone has inisghts on this issue.

     

    (By the way, ignore all advice on various help websites to execute an ftp transfer using a "Workflow".  You need to make an .app do do that.)

  • fastprof Level 1 Level 1 (10 points)

    I got my own answer after sleeping on it.   My iCal calendars were a mess, mostly thanks to iCloud.   Once I turned off iCloud calendars in System Preferences, and deleted all accounts, I was able to setup a local calendar that correctly accessed the application I created in Automator.   I no longer got any error notifications.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.