Automatically run an app every hour?

I need to automatically run an app every hour.
I have a Time Capsule that I am getting rid of because the new UVerse fiber optic internet box does the same router functions but not the back up functions. So I want to make my external drive work like a Time Capsule. That is to mount when needed and unmount when not needed. To that end I have written an application using Applescript/Automator that does exactly that. Mounts the drive, runs the backup and unmounts the drive afterward. Now I am having a hard time finding a way to schedule it to run every hour. Most scheduler apps will only run once a day and Cronnix no longer seems to work or I can't make it work.
Any thoughts?

You really should use launchd. Lingon is a good tool, give it another look.
I created the following plist with Lingon.
Copy it in TextEdit, save as a plain text file (⇧⌘T) and copy it to Library/LaunchAgents (Lingon does all this for you):
You need to change the path and name of myApp:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #E6E6EE;
overflow: auto;"
title="this text can be pasted into a text editor">
<?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.Damien.myTimeMachine</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/myApp.app</string>
</array>
<key>StartInterval</key>
<integer>3600</integer>
</dict>
</plist>
</pre>

Similar Messages

  • E72 Automatic connect to internet every hour.

    Hi,
    I've recently experience aproblem with my phone automatically connect to the internet every hour. therefore i set the connection mode to always ask but the mode pops up asking me to connect to the internet every hour. This kinda irritating. I've tried to reformat the phone using the *#7370# but problem still occured.
    Could anyone please help?
    Jonathan

    Hi,
    Ya, i logged in the facebook and ovi mail using wifi connection. all the while nothing happened , only yesterday after i went to one link site from google and downloaded a movie clips and it happened. i tried to find anomyous file instaled in file manager and tried to delete it but doesn;t do solve the problem.
    I suspect must be caused from the movie clip i download but i already deleted the file.... right after i see it.
    Jonathan

  • How can I get Automator to run every hour

    Hello,
    I want to run a Unix Shell executable every hour (measuring network bandwidth), but automator only seems to be able to go down to once  a day. Is there anyway of getting automator to run the executable every hour?

    If you already have the shell script then skip Automator and use launchd(8)  to run the script on what ever schedule you'd like.
    There are many good tutorials and examples of using launchd  see Creating Launch Daemons and Agents - Apple Developer and Mac OS X launchd examples  for a start.
    Also see http://launched.zerowidth.com/ as one way to automate making the plist file.
    regards

  • Run function every hour

    Can anyone help? I need to be able to run a function every hour.
    One way is:
    javax.swing.Timer rateTimer=new javax.swing.Timer(3600000,new ActionListener(){
              public void actionPerformed(ActionEvent evt){
    // your code here
    it there any other way or is this the best?

    Should mention that if the timed service is the only thing the application is going to do (rather than many things) then you might want to look to your OS to see what scheduling services it already has. Then the OS could run your application once an hour.

  • Automatic BTCI every Hour

    I have a peculiar issue, where a BTCI session triggeres every hour & it tries to process a very old contract for saler order creation. I'm not able to track the trigger point for the BTCI creation (every hour), this has been happening from the past 1 and half year.
    In the test system I've managed to trigger the BTCI session by running a Z-transaction. However in the production system  there is no condition that satisfies the Z-transacion execution but still a BTCI triggers every hour. At the end of the day all the concerned  session get processed however there is one from 2009 that always remains in error.
    I would be thankful if someone can help me on this.

    Hi,
    Try to run your Z-report in job  Transaction SM36 for creation or SM37 for view.
    You can add a step to run you report every hour.
    Rgds

  • IPhone5 with ios 6.1.2 uses cellular data when connected to wifi.  Every hour to the minute even when no apps are running, iCloud is off, Ads are off, Diagnostics are off.  Running on AT&T cellular network.

    I have 3 iPhone5's with ios 6.1.2 that user cellular data when connected to wifi.  Every hour to the minute even when no apps are running, iCloud is off, Ads are off, Diagnostics are off.  Running on AT&T cellular network. 
    Date Time To/From
    Type
    Direction
    Msg/KB
    03/14
    01:30 PM
    phone
    Internet/MEdia Net
    Sent
    78 KB
    03/14
    01:02 PM
    phone
    Internet/MEdia Net
    Sent
    4397 KB
    03/14
    12:48 PM
    phone
    Internet/MEdia Net
    Sent
    19520 KB
    03/14
    12:30 PM
    phone
    Internet/MEdia Net
    Sent
    19503 KB
    03/14
    11:30 AM
    phone
    Internet/MEdia Net
    Sent
    2427 KB
    03/14
    10:30 AM
    phone
    Internet/MEdia Net
    Sent
    359 KB
    03/14
    09:30 AM
    phone
    Internet/MEdia Net
    Sent
    1396 KB
    03/14
    09:25 AM
    phone
    Internet/MEdia Net
    Sent
    1 KB
    03/14
    08:25 AM
    phone
    Internet/MEdia Net
    Sent
    30 KB
    03/14
    07:25 AM
    phone
    Internet/MEdia Net
    Sent
    16 KB
    03/14
    06:25 AM
    phone
    Internet/MEdia Net
    Sent
    45 KB
    03/14
    05:25 AM
    phone
    Internet/MEdia Net
    Sent
    15 KB
    03/14
    04:25 AM
    phone
    Internet/MEdia Net
    Sent
    14 KB
    03/14
    03:25 AM
    phone
    Internet/MEdia Net
    Sent
    21 KB
    03/14
    02:25 AM
    phone
    Internet/MEdia Net
    Sent
    23 KB
    03/14
    01:25 AM
    phone
    Internet/MEdia Net
    Sent
    16 KB
    03/14
    12:25 AM
    phone
    Internet/MEdia Net
    Sent
    23 KB

    Hello All Who Read This!
    I just bought an iPhone 5 on the 21st of March. I ate through 850 MB's in 12 days. I read up on the issue of data consumption looking for tips to conserve data. I did not know there was a problem.
    This morning I found out that I was leaking data very little, but daily it accumulates. I am in Barcelona, Spain. I do not have a contract, I am on a prepaid Yoigo carrier.
    I happened upon an article/blog by Robert Parks at snnyc.com "problems persist in ios 6.1.2.".
    Although his situation did not relate to me, I tried a few tests on my own to see if I could stop the data leak without turning off my celular data and possibly push notifications, I think I found a solution that might help someone:
    In ios 6.1.3 goto Settings/Mail, Contacts,Calenders and scroll down to Calendars and turn off " New Invitation Alerts" and also turn off "Shared Calendar Alerts".
    My Cellular Network Data seems to be behaving. I only see a change in MB used when I open an ap that uses data.
    All The Best

  • How can I disable the Photos app from automatically running when I plug in my iPhone?

    How can I disable the Photos app from automatically running when I plug in my iPhone?
    I have no intention of ever using Photos, in fact, having to abandon Aperture takes me one step close to moving back to Windows, but I digress.
    I just want to NOT have to kill the Photos app every time I plug in my phone.
    Thanks.

    I am still seeing the option Image Capture, like shown in the screenshot that Rysz posted.   But it is another example of the hide-and-seek Apple likes to play with us.
    The option has to be set for each device individually. With the device connected to USB, you have to click the tiny disclosure triangle in the lower left corner of the sidebar to reveal the option.
    I was perfectly happy with the program I paid for (Aperture), and now to maintain the functionality I have to pay for another application (LightRoom) to get the functionality that I paid for in Aperture.
    Aperture 3.6 is working well with Yosemite. I will use it, as long as I have a Mac, that will run Yosemite or a compatible system.
    Have you looked at Capture One?  It looks much more similar to Aperture than Lightroom.

  • Why is the purge command running every hour, and freezing my system?

    I noticed over the past several days that my mac pro will freeze for several seconds (clock stops, mouse/keyboard don't work. completely frozen) every hour, to the minute.
    I've tracked it down to the "purge" command, which is causing the problem.  But, I can't find where it's being called.  Any hints where I might look to find the cause?
    I don't believe this was happening a few days ago. I have installed all software updates.
    I'm running 10.7.5 on a 2x2.66Ghz 6-core mac pro.
    Thanks!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). Post the lines of output (if any) that appear below what you just entered. You can do that by copying and pasting as well. Omit the final line ending in “$”. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|edu\.mit|org\.(amavis|apache|cups|isc|ntp|postfix|x)/{print $3}' 
    This time you'll be prompted for your login password, which you do have to type. It won't be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|edu\.mit|org\.(x|openbsd)/{print $3}' 
    Step 4
    ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' 2> /dev/null 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Hi my mac book pro is having some problem with mouse , With out my actions it's automatically running for example If I open some site the arrow is automatically pressing every where if u don't mind can u suggest me what I have to do

    Hi
    I am facing some problem mouse arrow with out my actions it's automatically running for example If I open a some site the arrow mark is going every where and automatically pressing and the particular sites are opening if u don't mind can u suggest me what I have do

    If you can still access the machine and haven't wiped the drive, open the Mac App Store, log in to your Apple ID, and try to download Mavericks from there. If it works, make a bootable USB from the
    Mavericks installer (google how to do this). Then boot to the USB wipe the drive and install Mavericks clean. And since it shoudl be associated with your Apple ID at that point you shouldn't have any issues.

  • OSX now crashes every hour. OSX apps like Dock, desktops, launchpad, finder, toolbar, etc become unresponsive, although sometimes non OSX apps (like Chrome, TextMate, etc) remain functioning briefly. No obvious reason or trigger

    OSX now crashes every hour. For no obvious reason or trigger, suddenly OSX apps like Dock, desktops, launchpad, finder, toolbar, etc become unresponsive, although sometimes non OSX apps (like Chrome, TextMate, etc) remain functioning briefly, before the whole thing hangs and needs a hard reboot.
    It is not apparent what I do to provoke the crash -- it happens while I am in seemingly any application, sometimes just reading a page and not taking any actions.
    This started happening very suddenly two days ago. It might have happened around the time I updated ITunes but I'm not sure of this at all. And I never use ITunes or have it open.
    Don't know how to diagnose the problem since nothing is accessible whence it freezes up on me.  I tried software update, but problem continued after. Would appreciate troubleshooting advice. Thanks!
    best,
    gene

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time after  you had the problem. Select the messages logged before the boot, while the system was unresponsive or was failing to shut down. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). Please include the BOOT_TIME message at the end of the log extract.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • How to schedule a Stored procedure to run every hour in SQL server express

    Hi,
    I am using SQL server express and I want to schedule a Stored procedure to run every hour.
    The Stored Procedure name is UpdateData.
    Can someone please give an example of how i can schedule this to run every hour, given that I do not have SQL Server agent on my express edition.

    Hello,
    You will find more options on the following thread.
    http://stackoverflow.com/questions/1675206/how-to-run-a-stored-procedure-every-day-in-sql-server-express-edition
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Running a report every week automatically

    Hi
    I want to run a report every week for all the variants defined for it and it should be sent to spool automatically. what is the procedure for achieving this.
    IF this has to achieved by scheduling the report.
    can you send me steps for achieving this kind of execution for all the variants
    executing for a single day or less in the foreground itself so i can see whether it is executing correctly or not.
    Please provide the details at foreground and background.
    Thx for all the replies
    Regards
    kiran

    hi,
    look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/ef/2c513897110872e10000009b38f889/frameset.htm
    greetings
    blessed christmas and new year to all SDN'ler
    Andreas

  • Running automator on the hour every hour

    I am trying to set up an image action to run every hour on the hour with out having to make an iCal entry for every hour. Also I unfortunately can't make the folder a hot folder beacuse it is a windows server.
    Is it possible the some one out their could help me with an apple script? The imaging script for automator is already made. I just would like a script to tell automator to run every hour.
    Thanks

    Try using this application to set up a cron task for that action; to do this, set the min field to 0 and put a * in the other fields which determine when the task runs.
    (18050)

  • My ipod touch 3,5 gen have the 4.2.1 softwear version and need to update to 4.3 so I can run my app Numbers that I've just bought yesterday but it doesn't update automatically. I'm in Portugal. What can I do to solve This?

    My ipod touch 3,5 gen works on 4.2.1 softwear version and need to update to 4.3 so I can run my app Numbers that I've just bought yesterday.It doesn't update automatically. I'm in Portugal. What can I do to solve this?

    What model iPod do you have?  A 2G only can go to 4.2.1.  The 3G and 4G can go to the latest. 4.3.3. Identify your iPod here:
    Identifying iPod models
    What computer OS and version do you have?  What version of iTunes is installed?

  • Automatically backing up single folder every hour on an external HD

    Is there a way to back up one folder automatically to a hard drive the way Time Machine backs up an entire hard drive?  I have a 20 Gig external that I would like to back up a single folder's data files automatically every hour.

    Do you mean independently of Time Machine or do you mean also with TM? If the latter then simply exlude everything on the second drive except the one folder.

Maybe you are looking for