Search Results

Search found 3 results on 1 pages for 'nobik'.

Page 1/1 | 1 

  • Detecting user-activity on mac os x

    - by Nobik
    I use the function "IOPMSchedulePowerEvent" to schedule Sleep or Wake-Events and registered my daemon with "IORegisterForSystemPower" to receive power-state-changes. Everything works fine! When system going sleep and later waking up at scheduled time, my daemon do some work, and after it system should going sleep again. Now my questions: How can i detect, if the system was awaked by user or by the scheduled time? How can i detect, if a user currently working with the system, so the daemon have not to put it in sleep-mode??? Thanks Nobik

    Read the article

  • missing entry in launchctl after restart

    - by Nobik
    I have a deamon which is registered with launchctl to run as system-wide-daemon and to load automatically with every system startup or if the daemon crashes. I have registered this daemon with: sudo launchctl load -w /Library/LaunchDaemons/plist.file Everything works fine. My daemon is registered and with sudo launchctl list I can find the entry at launchctl But on some Macs after the user restarts the system, my daemon is not running. And with the command sudo launchctl list I can't find the entry anymore. Any ideas, why the entry is missing???

    Read the article

  • CFPreferences creates multiple files

    - by Nobik
    I have only a little question: Why the CFPreferences-API creates multiple files in my UserPrefs-Directory? All the files have my Bundle-Identifier as name and all (except the one, the original) have added a suffix like this: com.myComp.myApp.plist <- (only this plist-file should be created) com.myComp.myApp.plist.0qzcicc com.myComp.myApp.plist.8dhjfht

    Read the article

1