Enable Cronjobs and/or Scheduled Shutdown at Login?

Discussion in 'OS X Yosemite (10.10)' started by Warhaven, Sep 3, 2015.

  1. Warhaven macrumors newbie

    Joined:
    Mar 3, 2010
    #1
    As of 10.9 or 10.10, Apple removed the ability to execute cronjobs or schedule the computer to shutdown from the login screen. You have to be logged in in order to do either of these. This is problematic in a computer lab environment where everybody signs in with their own account, and logs out when done. As such, none of my computers are shutting down in the evenings.

    So... anyone know if there's a plist or global setting somewhere where I can toggle this behavior and re-enable it?
     
  2. Dargoth macrumors regular

    Dargoth

    Joined:
    Oct 27, 2014
    #2
    Don't use cron on OS X. Use launchd. Type this into the Terminal: man launchd.plist. It's pretty simple to learn. Create a property list file (.plist) in Xcode or a plain text editor, and add entries as needed. There are resources online for more information.
     
  3. Warhaven thread starter macrumors newbie

    Joined:
    Mar 3, 2010
    #3
    Okay, ty. I'll see if this works from login screen. Also found this... super handy:

    http://launched.zerowidth.com/
     
  4. Warhaven thread starter macrumors newbie

    Joined:
    Mar 3, 2010
    #4
    Okay, this worked great. All the computers shut down last night.
     
  5. Dargoth macrumors regular

    Dargoth

    Joined:
    Oct 27, 2014
    #5
    Good to hear!
     

Share This Page