Why does my work Launchd suddenly stop

10.9.5 OSX

MacBook Air 11 inch end 2010

I have a running on this MacBook launchd job. The job runs a shell script every four minutes. This shell script renders an image of the webcam and upload it to my site.

Most of the time it works fine. But, every once in awhile the launchd simply stops working. If I unload and reload the file plist, work begins to run again. Other job opportunities continue to operate without problem.

What can stop a job to run?

The job was created with Lingon X.

<? XML version = "1.0" encoding = "UTF-8"? >

<! DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0 / / IN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" > ""

< plist version = "1.0" >

< dict >

< key > disabled < / key >

< false / >

< key > EnvironmentVariables < / key >

< dict >

< key > PATH < / key >

< string > / usr/local/bin: / usr/bin: / bin: / usr/sbin: / sbin: / opt / X 11/bin: / usr/local/sb in < / string >

< / dict >

< key > tag < / key >

< string > com.mgnewman.webcam < / string >

< key > ProgramArguments < / key >

< table >

< string > /Users/mnewman/bin/chaamcam.sh < / string >

< / array >

< key > QueueDirectories < / key >

< table / >

< key > RunAtLoad < / key >

< true / >

< key > StartInterval < / key >

< integer > 240 < / integer >

< key > WatchPaths < / key >

< table / >

< / dict >

< / plist >

The first question I have is that newspapers have to say about this?

Any error condition must be connected in /var/log/system.log is the starting point.

In addition, processes can get strangled if they lay too frequently, and a work can not be started if his previous incarnation still - is - it possible that she was taking more than 4 minutes for the script is running, and that blocks the next invocation?

In both cases, you must delete the key your .plist RunAtLoad, since it applies here (man launchd.plist has more details on this key).

Tags: Mac OS & System Software

Similar Questions

  • Why does Vista work with adobe flash player and RoboForm?

    Why does Vista work with adobe flash player and RoboForm?

    original title: Vista 64-bit

    He does.  Even if you ask the wrong way.  It is not Windows Vista which would "work with" other applications, it's other applications that "work with" (or not) Windows Vista.  After all - Windows has no need or the other of these two applications to run, but these two applications need to Windows (or some other applicable/compatible OS) service.

    Not only it works with both - but Adobe is finally released with a version 64-bit Flash Player - so you can use it with the version 32-bit and 64-bit Internet Explorer.

    RoboForm: http://www.roboform.com/support/manual/roboform; "Requirements. RoboForm works under Windows 2000, 2003, XP, Vista, 7, server systems. Internet Explorer version 6.0 or later is required. All Service Packs and security patches must be installed. "

  • I have a problem in the program... Why does not work? :(

    After.jpg

    I have a problem in the program... Why does not work?

    He seems to not like the picture!

    Thank you very much

    You have opened the rendering engine, not the full program.

    Mylenium

  • HP50g - nested call local procedure - why does not work

    I am attaching the simple test program to illustrate the problem

    «
    "Ť N".
    "N N."
    »
    »
    '2 AA EVAL '.
    "AA BB Ť
    '3 AA BB EVAL EVAL '.
    »
    »

    (Ť means arrow to the right).

    Two local procedures are defined: the 1st (AA) makes the place of its setting and the 2nd (BB)

    calls AA.

    I expect 9 and 4 as the result (3 and 2 places). But the program gives:

    9

    2

    'AA '.

    Then call AA of BB does not work, why? How to make it work?

    Someone might he say?, thanks

    Resolved, solution was using local variables compiled, thanks anyway

  • my video and streaming does not work correctly, always stop.

    my video and streaming does not work properly, his game and stops all the time.

    Hello

    1. this happens when you play movies or videos saved on the computer?

    I suggest you to follow these steps and check if that helps.

    Method 1:

    If this happens when you stream or watching videos online, then I suggest you day flash player latest version and check if it helps:

    http://get.Adobe.com/flashplayer/

    Method 2:

    If the problem occurs even when you try to play the recorded video on the computer, then try to update the latest drivers for the video card and see if it helps:

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    For more information, see this link:

    http://support.Microsoft.com/kb/2532294

    It will be useful.

  • srcset, why does not work?

    test page for srcset

    With my own images exchanged in Chris Coyiers CSS - tricks.com webcast code.

    Don't know all the details on how it works, for example. but does not work on Safari 9 on my desk.

    I just want to see 3 pictures to share if resized browser...

    You would like to change the script in style-label tags.

    As far as images are concerned, the thing is, that once your browser has the higher resolution image (load, in the cache), there is no point so he can download lower quality, even when you do your smaller window (the point of this is to save the traffic).

    So, if you want to test it, just make your smaller window and THEN load the page (after clearing the cache / or use incognito mode). You will get the mobile or tablet version. Then by enlarge the window, you will at some point see your browser to switch to the image of higher resolution.

  • Why my PS CS6 tools suddenly stop working?

    My Photoshop CS6 was working perfectly last night; but when I went back to my project this morning, I was able to open documents existing and new start, but the only tool that works the box selection - and instead of double click to release the selected item, I had to do it manually. Also couldn't copy and paste once, until no longer works, as well.

    After the update (if necessary) and the closure of all open files in the window, I closed Photoshop... rebooted and found it not solved the problem. Also discovered A several new documents that certainly have been open and visible in the window earlier today apparently not asked if wanted to save before I closed... .so lost 2 hours of work.

    The only recent change to my computer has been adding software for the new Canon printer that I had bought when my Xerox Phaser has stopped working. (Since I was already getting WiFi via ethernet connection to the modem Time Warner had traded against the previous router (last year), it was easier to continue this topic rather than looking for a USB cable long enough to reach the box).

    So far I did have the opportunity to print a Photoshop document, but the initial test sheets printed without any problems. The only difference I noticed with PS after that installation, it's that the tools were in two adjacent vertical lists, instead of the previous single vertical list.

    I read the instructions to reset the preferences of the tool and although it reminded me how we used to troubleshoot our Macs years there, there are so many 'things' on my computer, I was hesitant on the withdrawal of all existing preferences to a different location where I managed to lose them in the process. However, I found their replacement in one annoying warnings.

    BTW, I use an iMac 2012 end (bought at the end of the following year)... and updated at Yosemite 8.05 and Flash Player a couple of months.

    In which case it might be related... as many Mac users have reported, Safari crashes sometimes and I am often plagued by warnings that the Safari web content does not... But as far as I can tell, it's only slow performance; is no not inoperable software features. I'm more concerned of Photoshop, because I need to go to an important meeting at the beginning of the week.

    Photoshop preferences are corrupt often cause Photoshop to act and behave strangely.  It is also a common thing so then Adobe added shortcut to start that you can use to remove your preferences.  Photoshop will build it a new set of default preferences for you. So lose everything you preferences is really not that big of a deal.  However if you who worries about this, you can keep your old preferences.   What you need to do is fine, the record id user preferences are stored in your Mac and rename the folder.  When you start Photoshop it will create a new folder to store your preferences and create a set of preference files default to your user ID.

  • Why has my Sibelius 6 suddenly stopped working on Windows Vista?

    It worked fine until a few weeks ago. Now, when I try to start Sibelius 6, I immediately get the message "Sibelius has stopped working - a problem caused blocking the program works properly...". Help! I have topped up Sibelius 6; My PC is not large enough to use Sibelius 7. I need it to work immediately; What can I do?

    You'll probably more relevant for Avid assistance.

    Try this first: http://avid.custkb.com/avid/app/selfservice/search.jsp?DocId=362261&ssdFilterCommunity15=1508&ssdFilterCommunity13=0&ssdFilterCommunity11=0&ssdFilterCommunity10=368&ssdFilter_SearchKeyWord=vista+stopped+working&page=1&ssdSearchOperator=0&ssdFilterCommunity3=0&Hilite=vista+stopped+working

  • Why does my Shockwave Flash Player stop working on Firefox 26

    I restart and try again or wait until the blue screen of death to come. My CPU goes to 100% when this happens to me. It happens all the time.

    Hello mnrwronl, try updating your graphics drivers later, moreover, turn off hardware accelerationand disable hardware acceleration in Flash Player settings. (See this article for more information on using the Flash plugin in Firefox).

    To turn off hardware acceleration in Flash Player:

    1. Go to the Adobe Flash Player help page.
    2. Right-click on the Flash Player logo on this page.
    3. Click settings on the shortcut menu. The Adobe Flash Player settings screen opens.
    4. Click the icon in the lower left of the Adobe Flash Player settings window to open the display panel.

    5. Remove the enable hardware accelerationcheck box.
    6. Click close to close the Adobe Flash Player settings window.
    7. Restart Firefox.

    This Flash Player help - display settings page contains more information about the Flash Player hardware acceleration, if you are interested.

    Does this solve the problem? Let us know.

    Thank you

  • My SD card was working but suddenly stopped on windows 8

    There is no evidence that I have pluged it in at all - it works on my camera, and I took pictures (of the UN - and re-pluging in there) and all of a sudden it didn't just pop up. I'vtried all the normal things, but nothing works at all. Help, please.

    Lenovo thinkpad windows 8 (64-bit)

    Hello

    Have you tried other cards in this player? Of different sizes and capabilities as possible?

    Could be hardware and you cannot resolve hardware with the software. Check with the system
    Manufacturer of support, their books online, the diagnosis and ask in their forums (if
    There are). Or check with a real computer store (one who does on its own in-store service
    This brand and model of laptop). Update the BIOS, chipset of low level driversand the
    other great drivers embedded and separate (especially anything USB).

    Support from Lenovo and downloads
    http://www-307.IBM.com/PC/support/site.WSS/homeLenovo.do

    Lenovo forums
    http://forums.Lenovo.com/

    Remember that you can not resolve hardware with the software.

    =====================================================

    Note the use of Win Key + X and Win Key + W (to go on the Control Panel, Run and parameters
    According to needs). Win + D key calls the office and using Win Key active / disable the Office
    and the splash screen.

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Windows key + X (or right click in the lower left corner) - (Admin) command prompt

    C:\Windows\System32\ >

    At the prompt, type in SFC/scannow above
    (There is a space between C and /)

    How to run the command "SFC/scannow" at startup or in Windows 8
    http://www.eightforums.com/tutorials/3047-sfc-scannow-command-run-Windows-8-a.html

    -----

    Then run CheckDisk (chkfdsk/f/r)

    File (formerly Windows Explorer)

    Right click on drive C: - Properties - tab tools - error checking - Check

    Windows 8/8.1 - improve performance by optimizing your hard drive - see "to repair a drive:
    http://Windows.Microsoft.com/en-us/Windows-8/improve-performance-optimizing-hard-drive

    How to check a drive for errors with "chkdsk" in Windows 8/8.1
    http://www.eightforums.com/tutorials/6221-chkdsk-check-drive-errors-Windows-8-a.html

    -----------------------------------------------

    Then lets refresh the USB stack

    Control the click Control Panel - Device Manager - no matter where in the box of white/white - then the VIEW - see the
    Devices disabled - look around (with the exception of USB controllers) for your devices (can have
    zero or more than one) and top - right click UNINSTALL.

    Control Panel right CLICK on EVERYTHING - Serial USB controllers - device configuration-manager and
    UNINSTALL all but the category itself - REBOOT - it refreshes the driver and battery USB

    This KB shows XP how to and methods of Vista and Windows 7 are identical (and
    Windows 8/8.1)
    http://support.Microsoft.com/kb/310575

    This is a utility to help you, but do 1 above.

    USBDeview is a small utility that lists all USB devices currently connected to your computer.
    as well as all USB devices that you previously used. Run Options and tick three 1
    are there choices to see if any.

    http://www.NirSoft.NET/utils/usb_devices_view.html

    You must remove all instances of the devices and restart.

    ------------------------------------------------------------------------------------------------

    Remove ALL USB devices that you can and see if it is the will of edge or plug-ins
    work individually.

    ------------------------------------------------------------------------------------------------

    Install USB 3.0 and other USB devices
    http://Windows.Microsoft.com/en-us/Windows-8/install-USB-3-USB-devices

    Hardware and drivers
    http://Windows.Microsoft.com/en-us/Windows/hardware-drivers-help#hardware-drivers-help=Windows-8

    Set up your PC - configure your devices
    http://Windows.Microsoft.com/en-us/Windows-8/set-up-devices#1TC=T1

    Why Windows is not find my device?
    http://Windows.Microsoft.com/en-us/Windows-8/why-isn ' t-windows-conclusion-device

    What happens if a device is not installed correctly
    http://Windows.Microsoft.com/en-us/Windows-8/what-device-isn ' t-installed-correctly

    ===================================================

    If necessary:

    Try to do a "Refresh you PC without affecting your files" (or modification of your personal data
    settings) or even a restore.

    Windows 8/8.1 includes special discount methods (keep files and settings) or a reset
    (new installation remove all).

    How to restore, refresh or reset your PC
    http://Windows.Microsoft.com/en-us/Windows-8/restore-refresh-reset-PC

    How to create a system image to refresh your PC in Windows 8
    http://support.Microsoft.com/kb/2748351

    How to update Windows 8/8.1
    http://www.eightforums.com/tutorials/2293-refresh-Windows-8-a.html

    How to reset Windows 8/8.1
    http://www.eightforums.com/tutorials/2302-reset-Windows-8-a.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Why used to work affects REC / STOP when I try to save my own pace with musical keys?

    Everytime I open a new rhythm of drum with Garageband and try to record my own rhythm with the music keys, the record button will not work. I tried with piano and it records very well there, but when he's with a pace it won't let me not record. Very frustrating because I don't see what I'm doing wrong.

    Why is that happening and how can I solve this problem? Thank you.

    What kind of track do you use?  You cannot record a track of drummer.  It's an intelligent instrument, which will play on its own. Use a software Instrument track and set it on a drum in his Kit.

    You can save your music entry.

  • Why does not work does not correctly?, work the first day and after 48 H does not work.

    Why the APPLE TV to stop working 48 hours after installation

    You will need to provide more information

  • Why does sharing work at home?

    I can't get the sharing of work at my job? I mean I have wifi here and everything, but it does simply not at all?

    See "Specifications" here:

    https://www.Apple.com/support/homesharing/getstarted/

    Frankly, if I were Chief Information Officer an employer, I would ensure my place of work sharing at home.

  • Why does MacScan work on Firefox cookies, more?

    MacScan used to detect the 10-30 + tracking cookies every day - that I would remove. Then I updated Firefox and, now, Macscan detects only on Safari tracking cookies. I used to learn that the default setting on my Firefox 26 preventing tracking cookies - Firefox home page, but I've never touched all the settings on my previous versions of Firefox before - what MacScan worked on it. Eventually, the function of 'preventing tracking cookies' did not exist in previous versions of Firefox. But what I'm asking is that previously MacScan could analyze the cookies about 3 000. Now, it scans only about 100 cookies Safari, notes 2 or 3 rejected, and it is not even scan cookies from Firefox at all. Please can someone explain what is happening? MacScan tech support guy was very nice, but could not help me.
    Another thing: a website, I went once again my AOL toolbar. I went to the Apple Store and a 'genius' fixed the problem - but I don't know what he was doing. Eventually, the issue of MacScan began at this time.

    In case you use "clear history of Firefox closing:

    • do not delete Cookies
    • do not delete Site preferences

    Note that compensation "Preferences of Site" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

    Deletion of cookies will delete all specified (selected) cookies, including cookies with an exception allowing you want to keep.

  • Why does firefox open a non-stop tab string when I try to open a PDF file?

    I don't know if it's a coincidence, but right after that I installed the latest version of Adobe flash player, firefox now opens a string with no end of new tabs, whenever I try to open a PDF file. I have to close the window and start over.

    Help?

    the machine is a HP Elitebook 8540w. Windows 7 64-bit.

    You have configured Firefox to use the Adobe Acrobat plugin? It seems that he may be missing or disabled, because it does not appear in your "more details of the system" (next to your message). You can see the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click on Plugins. Then on the right, look for Adobe Acrobat. It may be down on a gray background.

    If you don't have it: Make sure that this isn't your favorite here player:

    "3-bar" menu button (or tools) > Options > Applications

    You can type or paste pdf in the search box at the top of the list after loading to filter.

    If you have it, but it cannot be activated using 'Always enable' or "Ask to activate": You may need to update. I recommend using the help inside your product Adobe (Reader or Acrobat) menu to check the updates.

    Any progress?

Maybe you are looking for