Scheduled restart of mac with force quit.

Discussion in 'macOS' started by simonpickard, Mar 19, 2012.

  1. simonpickard macrumors regular

    Joined:
    Mar 1, 2009
    #1
    Hi there,

    I use my Mac Mini as an iTunes server and find I need to reset it every few days. iTunes moaning about not being able to wifi sync, other little issues, etc.

    What I'd like to do is perform a clean restart every night just to clear out the rubbish and hopefully make things more stable.

    I've used Scheduled restart but it doesn't take into account iTunes having users connected to it. So when I wake up in the morning it's just sat there at the:

    "Other users are connected to this computer, are you sure you wish to quit?"

    How can I get around this?
    Is there a way to force everything to quit and OSX Lion to restart?

    Regards,
    Simon
     
  2. Mal macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #2
    A restart isn't something you should have to do regularly like that. Perhaps it'd be best to troubleshoot the actual problems instead?

    If you absolutely need to, you could run a shell script via Automator that could do that, but it's a bad idea to regularly force quit applications, as you could lose data if you have unsaved changes or something is being written while you do that.

    jW
     

Share This Page