Launchd isn't launching my app

I used Lingon to create this plist file, but launchd is never launching the application. The intent of the StartCalendarInterval specification is to have it run every hour, on the hour. Activity Monitor shows that launchd is active, and running as "root". My own user is the owner of the .app file (and every other .app file, for that matter).
<?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>org.mark92630.myCalendarBackup</string>
  <key>ProgramArguments</key>
  <array>
  <string>/Users/mark92630/Applications/CalendarBackup</string>
  </array>
  <key>RunAtLoad</key>
  <false/>
  <key>StartCalendarInterval</key>
  <dict>
  <key>Minute</key>
  <integer>0</integer>
  </dict>
</dict>
</plist>
Thanks in advance for any ideas,
Mark

Every hour on the hour, I want the app to START, execute, and then STOP (go to end of task). I do not want it to be running (or idling) constantly in the background. Please tell me how making it a login item is going to accomplish that.
Think of Time Machine backups for something that works the same way that I want my app to. Time Machine is not a login item.
The way I did this years ago in Unix was to use the "cron" subsystem, but Apple documentation says that cron has been deprecated in favor of launchd.
P.S. Looking at the system .plist files, lots of apps are being launched this way, by vendors such as Google and Oracle.

Similar Messages

  • Launchd isn't launching my plist

    Hi folks. Thought you might know what's going on here.
    I created a plist suggested to me by someone on the pureftp list. It is a sudo launch of the server, with a couple of switches. It's all put into a plist in my system/library/launchdaemons/ directory.
    Just not sure why it isn't taking upon startup (the daemon isn't showing in Activity Monitor) and I'm not sure where to look for feedback. Console doesn't give me squat.
    Any idears?
    Here is the plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>org.pureftpd.www</string>
    <key>Program</key>
    <string>/usr/local/sbin/pure-ftpd</string>
    <key>ProgramArguments</key>
    <array>
    <string>/usr/local/sbin/pure-ftpd</string>
    <string>-A</string>
    <string>-E</string>
    <string>-T</string>
    <string>500</string>
    <string>-d</string>
    <string>-lmysql:/etc/pureftpd-mysql.conf</string>
    </array>
    <key>Sockets</key>
    <dict>
    <key>Listeners</key>
    <dict>
    <key>Bonjour</key>
    <true/>
    <key>SockServiceName</key>
    <string>ftp</string>
    </dict>
    </dict>
    <key>inetdCompatibility</key>
    <dict>
    <key>Wait</key>
    <false/>
    </dict>
    </dict>
    </plist>
    "ees driving me crasseee"
    Cheers

    I fixed it. Found some sites online.

  • LaunchD Task Scheduler would Launch Automator Apps under Maverick but will not under Yosemite. Why Not?

    LaunchD Task Scheduler would Launch Automator Apps under Maverick but will not under Yosemite. Why Not?
    I have tried going under System Preferences-Security&Privacy-Privacy and adding my Automator generated .app but that does not work.
    Any suggestions?

    Better check the site of the maker of that application for further information:
    http://www.failedinsider.com/support/launchdtaskschedulersupport/

  • Ipad1 ios5.0 after installing app doesn't keep on app kicks off before launch I already uninstalled and reinstalled I closed all open apps I turned iPad off and back on this isn't the first app this has done it to either any other ideas? Pls?

    IPad 1 iOS 5.0 isn't responding to app that is 5.0 or later requirements tried uninstalling reinstalling also also turning on and off iPad closing other apps nothingworking app doesn't launch any ideas?

    CS1 is not supported in Leopard if you had it working at some point you were lucky. Adobe does not plan on updating CS as it is an old version. Keep in mind that CS1 is now the last version that can be updated to CS4 now that Adobe has a 3 version update window. At the beginning of March Adobe will start tiered pricing and CS1 and CS2 will cost $200 more that you can upgrade to day. As soon as CS5 is released you will no longer be in the upgrade path and will need to pay full price for the CS5 creative suite.
    If you want to continue to use Leopard then it would be best for you to upgrade to CS4. If you will never need to upgrade then it would be best to downgrade your system to Tiger by either restoring from a backup of Tiger you made before your system upgrade or wiping the drive and installing Tiger fresh. You can't Downgrade the Leopard with Tiger as you could with previous systems.

  • My Creative Cloud app isn't launching?

    My Desktop Creative Cloud app isn't launching and it doesn't show in the notifications section. It is installed. Help please?

    App doesn't open | Progress wheel spins continually

  • I am unable to launch the app store. It terminates with an error.

    I have never been able to successfully launch the app store on my MacBook Pro. The icon momentarily appears in the dock then quickly disappears. An error is generated and is sent off to Apple, but nothing appears to have been done to either correct this problem or to give my any quidance in resolving this issue. Consequently, I am unable to upgrade to Lion (or to get anything else from the Apple Store, for that matter).

    Sadly, that did not resolve the problem. The app still terminated and generated an error. Any other suggestions?
    Here is the first portion of the error it generates:
    Process:         App Store [3200]
    Path:            /Applications/App Store.app/Contents/MacOS/App Store
    Identifier:      com.apple.appstore
    Version:         1.0.2 (63.1)
    Build Info:      Firenze-630100~1
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [239]
    Date/Time:       2011-08-17 21:43:21.942 -0700
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          23825 sec
    Crashes Since Last Report:           10
    Per-App Interval Since Last Report:  21 sec
    Per-App Crashes Since Last Report:   6
    Anonymous UUID:                      4133601A-34FD-472F-98E6-73E4DE9BFC06
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    abort() called
    *** Terminating app due to uncaught exception 'NSImageCacheException', reason: 'Cannot lock focus on image <NSImage 0x10037c3c0 Size={0, 0} Reps=(
    )>, because it is size zero.'

  • MacBook Pro Won't Launch Some Apps

    I have a Late 2007 MacBook Pro 17" (Santa Rosa).  For the past couple of months, I cannot launch some apps including:
    - iMovie (appears with a light under the dock but the window to actually use it never comes up)
    - iDVD (crashes with window that says that it quitted unexpectedly)
    - Final Cut Express 4 (crashes instantly)
    - LiveType (acts just like Final Cut)
    - and a whole lot more.
    I have tried to reinstall all of these apps but they do the same thing over and over again.  I have also reinstalled Snow Leopard after a complete wipe of the hard drive.  Actually, I have even swapped the hard drive inside the MacBook Pro, but no avail!
    So I have done these things:
    1. Reinstalled all of those apps.
    2. Reset PRAM.
    3. Reinstalled Snow Leopard from wiped hard drive.
    4. Reinstalled Snow Leopard after swapping in new hard drive.
    After this, I brought the computer to the Genius Bar.  They've also reinstalled Snow Leopard twice and don't know what to do.  Right now I have a half-working MacBook Pro.  I am hoping you and other people on the internet know how to fix this.  I am lucky that the 17" MacBook Pro isn't mission critical because I have just gotten a new 15" MacBook Pro to replace it, but it would be nice to have the 17" working again as a secondary computer.
    Any suggestions? Thanks!
    If this helps, there is a little history about this computer - I bought it new and around the second year the graphics card died.  It was the NVIDIA GeForce 8600m with 256mb of dedicated memory.  The logic board had been replaced by Apple and the machine is just over the second year with the new logic board.  Is it time for the second logic board's graphics card to die out?

    Have a go at repairing the disk (why didn't it start up, i.e. what did it do/show exactly?)
    Start up from your disk, or if on lion the Recovery HD by holding the alt button at startup and selecting it, then click the arrow underneath, select your language once the window comes up and click on DiskUtility at the bottom of the list in the main window.  Then select your Macintosh HD and "repair disk".  It will tell you if it thinks the disk is ok.  If you are starting up from a disk, DiskUtililty should be at the very top (the writing) under "Utilities", not the main window, which will only let you re-install the operating system.
    Questions: what operating system?  All apps or just some?  Do you know anything else helpful, like installations, deletions just prior?  Font problems?

  • ATSServer locks up on launching java apps/flash content

    Suddenly, every time I try to launch an app that's java-based, or one that uses flash (such as the Shorter Oxford English Dictionary), or any of my browsers load a webpage with flash content, I get the following console hangup:
    com.apple.ATSServer[670] ATSServer got a fatal error (status: -4) while processing a message (id: 22) from pid=nnnn.
    com.apple.launchd[139] (com.apple.ATSServer) Throttling respawn: Will start in 10 seconds
    I have done the following that might have been proximate causes:
    cleared duplicate fonts
    removed dodgy fonts
    cleared font cache
    uninstalled MS Office 2008
    deleted fonts that the MS Office uninstaller helpfully doesn't delete
    but the problem persists. This all seemed to start after either the latest java update, or the latest MS Office 2008 update, but may be nothing to do with either. At least I can access my online banking if I use FlashBlock in firefox, but since this doesn't seem to be a font issue, can someone suggest where to go next with this?
    - padmavyuha

    Well, actually it's still not working properly, although I've got my dictionary working again - I'm getting a couple of console errors persecond while it's running - and if flash is enable in browsers, it still drops the bomb occasionally. I'll follow this up with Adobe, since it's clearly a flash issue.

  • URGENT IPHOTO ISN'T LAUNCHING

    iPhoto isn't launching. I have tried to delete the .plist and also tried repairing the disk on the disk utility but to no avail. Any ideas? Could it be an update issue or is there a need for a software update?

    It's a diagnostic step. It tells us if the issue is with the app or the Library. However, as your answer is ambiguous I'll assume you can create a new Library and that tells us the app is okay.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    Regards
    TD

  • Numbers isn't launching mail when share is clicked-why?

    numbers isn't launching mail when share is clicked-why?

    It behave flawlessly here under 10.6.8
    As I wrote yesterdays, try to apply this scheme :
    quit the app
    move the preferences file :
    <startupVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Numbers. plist
    on the Desktop
    restart the app
    What I did exactly :
    create a new doc from a template
    insert some values and formulas
    save the file
    close it
    quit Numbers
    restart Numbers
    open the doc
    menu Share > Send by Mail > Numbers
    got a mail with the doc embedded as attachment
    Back to the doc
    menu Share > Send by Mail > PDF
    got a mail with the PDF embedded as attachment
    Close the doc
    work upon an other one
    open the doc
    menu Share > Send by Mail > PDF
    got a mail with the PDF embedded as attachment
    Back to the doc
    menu Share > Send by Mail > Excel
    got a mail with the xls embedded as attachment
    menu Share > Send by Mail > Numbers
    got a mail with the doc embedded as attachment
    You may also try to do the trick from an other account.
    Doing that would tell us if the wrongdoer is in your user account or in the huge range of files shared by every accounts.
    Yvan KOENIG (VALLAURIS, France) dimanche 16 octobre 2011 10:14:53
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Renew subscription EVERY time I launch an app??

    Hey guys, I was asked by the AdobeCare Twitter Account to post my issue in this forum, so here I am:
    I recently subscribed to a Adobe CC membership and everything worked fine when I had the CS6.
    Now since the CC Versions were released, I wanted to update of course. So I did.
    Since then I am constantly haveing the same issue: I can not launch an app without having to do so many steps!
    Here is what I have to do in order to open up any app (I have to do this EVERY time I launch an app..meaning when I open PS I do this, when I open ID I do this etc)
    1) I click on the icon of the app (in this example PS)
    2) I get the following "error":
    (it is asking me to renew my subscription)
    3) I click on "try again" and I get this message:
    (it says "Thank you, your subscription for CC is now activated")
    4) I click on "Continue" and get this message (again):
    So I click on "Do you have another Adobe-ID?" and get to see this window:
    ... where I type in my Password and click on "Sign in" resulting in this:
    and finally after clicking on "accept" in this:
    ...which basically is the same windows I get to see right at the beginning.
    At this point I want to mention again that I have to do this  e v e r y t i m e  I start an app, for each app I have to run through all of these steps and if I close an app by accident and re-open it, I have to do this again.
    I already tried to delete that file in the OOBE folder, did not work out.
    Also, I am lacking all the presets in Premiere Pro (Digital DSLR etc) which makes me think, that all of my apps are running in trial mode..? At least I had this issue, when I launched Premiere as a trial in the past.
    Don't get me wrong..But this is totally annoying and kills my workflow.
    Any help? I would greatly appreciate it!
    Thanks and greets from Germany!
    Danilo

    On the device that you don't want the apps to be downloaded on, go to Settings > iTunes &amp; App Stores > Automatic Downloads. Once you turn that off, your problem will be fixed.

  • Double clicking on a file launches the app but doesn't open the file anymore. Why?

    Double clicking on a file launches the app but doesn't open the file anymore. Why?

    I would post in the Illustrator forum here http://forums.adobe.com/community/illustrator or the Dreamweaver forum here http://forums.adobe.com/community/dreamweaver. One of these product forums will be able to help.

  • Acrobat 9.3.4 no longer finds bookmarked non-PDF files (and then launches assoc app)

    I produce a documentation DVD consisting of a one-page PDF file of ~ 1400 bookmarks and a lot of content.  The bookmarks point to the content on the DVD which includes pdf files as well as text, DOC, XLS, and other misc. file types, and a large number of html, swf, flv, .jpg, etc. files which make up 4 complete web sites.  The web sites are entirely contained on the DVD (no extermal internet access is referenced or required)
    Content is accessed by clicking a bookmark which simply opens the file (regardless of type.)  Prior to Acrobat 9.3.4, appropriate warnings popped up for non-PDF files but if allowed by the user, the appropriate app was launched for the requested file.
    Since applying 9.3.4, a "Launch File" warning box pops up showing the file name (which lacks a device) and when the warning's "Open" button is pressed, a Windows error appears with the message "Windows cannot find 'file.txt'.  Make sure you typed the name correctly, and then try again.  To search for a file....  ", and finally an Adobe Acrobat information box pops up and says "Could not open the file 'path/file.txt'  ".
    I have read and re-read about launching external apps, restricted urls and attachments, trust manager preferences, etc. etc.  I've added the files to the privileged locations list under the enhanced security settings and on and on.  It no longer works, yet I tested this DVD on several computers just last week and it worked fine. So, as a shot in the dark, I decided to fire up my laptop and test it there again.
    Once on, the laptop immediately wanted to update about 12,000 software products but I politely said "No, wait until i test this out!"  The test was successful and the DVD's pdf file worked great again!  At that point I let the machine apply the Acrobat 9.3.4 update (and some uncountable number of Windows patches and fixes.)  It's running a current version of Win7.  After the reboot, i tried the DVD again (under Acrobat 9.3.4) and it failed as described above.  Because of Win7 I was able to revert to acrobat 9.3.2 using System Restore.  After doing that, the DVD worked again.
    Most of our user's machines are either Macs or WinXP (current versions) and i haven't had time to figure out if you can even recover from this update under those OS's.  (It says you cannot remove it from XP, however.)  Regardless, even if i can do it for my laptop and get it working again, i cannot do it for all of our users.
    So, my question is if i am not doing something wrong, how do i let someone at Adobe know this release is broken??  If i am doing something wrong on the other hand, what is it and how do i get this to work again??
    Thanks all.

    Thanks.  I did submit a report at the site.  I hope somebody reads it as this is a big problem for us.
    Thanks again.

  • I am trying to install OS X liam on my Mac. Directions say launch Mac App store, click "redeem; found under quick links. Where is quick links on the Mac App store???

    I am trying to install OS X liam on my Mac. Directions say launch Mac App store, click "redeem; found under quick links. Where is quick links on the Mac App store???

    If you're running Mac OS X 10.6.6 or newer, click on the App Store icon in the Dock, go to its homepage if needed, and look at the sidebar on the right.
    If you're running an older Mac OS X version, it needs to be updated or upgraded first.
    (124500)

  • Error when launching promoted app from RemoteAPP

    Hi:
    We are receiving this error when launching any application from RemoteAPP, we tried promoting Calculator, Notepad, etc. and received the same error as well.
    "Personalization:
    This theme can't be applied to the desktop.
    Try clicking a different theme"
    Help!
    Thank you,
    Stangride

    If you launch the app directly from the session hosts using the same account that your using with remoteapp what are you getting? Try and RDP to the session host when you attempt it. I would also check rsop.msc to see if you have any GPO or scripts that
    are manipulating themes.

Maybe you are looking for

  • Payables Trial Balance

    Hi, We are on 11.5.10, we have 2 questions on using XML publisher with AP trial Balance.. 1. Even if we run the report for a specific supplier the text output is only a page, but the XML output is so huge it cannot be save on our desktop... i have se

  • JTable in a JMenu

    It is posibble to add a jtable in jmenu ??

  • Update of segment field in bseg table

    hi can any explain me about update of segment field in bseg table segment is mentained in profit center master record ,and i want to generate trial balance segment wise and profit center wise please suggest me steps to do in a new gl senario thanks c

  • Method to transfer data from Table control to Internal table

    hi, Hi, I´m working with CL_GUI_ALV_GRID and use the following methods: - CALL METHOD grid->set_table_for_first_display, to display my ALV; - CALL METHOD grid->get_selected_rows, to select the rows. But i have some fields that can suffer alterarions

  • Cannot connect to PPPoE server with a Linksys WRT54G router

    Hi everyone, I really hope someone can help me out, soon. I went out yesterday and bought a Linksys router, as in my previous experience of using their products, I never had any trouble, but looking back, I think that may have been because I was usin