Possible to wake up computer for scheduled tasks?

Discussion in 'all things UNIX' started by Eice, Dec 15, 2009.

Thread Status:
Not open for further replies.
  1. Eice

    Eice Registered Member

    Joined:
    Jan 22, 2009
    Posts:
    1,413
    I used to leave my computers running 24/7, but now I prefer to suspend them overnight. The problem on my Ubuntu Karmic laptop is that I have a cron job scheduled to perform system updates in the middle of the night, which obviously isn't going to happen if the computer is sleeping.

    The Windows Task Scheduler gives one the option of waking up the computer to perform scheduled tasks; is the same possible in Ubuntu, and how?

    Thanks.
     
  2. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    crons will still be run with anacron i think? or you can install anacron if it's not installed, it runs missed crons.

    i had a look because i know it doesn't sound like you want anacron and you can do it with either apmsleep or rtcwake. there's a thread here -
    http://ubuntuforums.org/showthread.php?t=938533
     
    Last edited: Dec 15, 2009
Loading...
Thread Status:
Not open for further replies.