Results 1 to 9 of 9

Thread: Automate tasks

  1. #1
    Join Date
    Aug 2012
    Beans
    3

    Automate tasks

    Sorry if this has already been answered but I could not find it. I have an old ASUS 900A eeepc and want to use it with Pandora radio. I am looking to have it start automaticly at a predetermined time every day, play the same station for maybe 4 hours, turn off for a few hours, then turn the station on again for a few more hours. I want this to happen every day.
    There has to be an easy way to set this up but what I have found so far seems complicated for a newbie. Is there any easy way to do this. I plan to leave the eeepc on all the time but will need it to wake up when needed.
    Anybody have any suggestions?
    Thanks

  2. #2
    Join Date
    Feb 2008
    Location
    Pelican Bay Correctional
    Beans
    Hidden!

    Re: Automate tasks

    What's a landing but a take off in reverse?
    Linux is just "DOS on 'steroids"

  3. #3
    Join Date
    Nov 2007
    Location
    Wisconsin
    Beans
    1,139

    Re: Automate tasks

    Quote Originally Posted by sbnsbn View Post
    I plan to leave the eeepc on all the time but will need it to wake up when needed.
    If the system is asleep, no processes can run to wake it up. You must leave the system on (awake) duing your sleep for this to work.

    There are several ways to do this: For a new user, go into the Power Manager and change the settings so that closing the lid doesn't suspend the system. This may have unintended consequences during the day, since your system won't sleep when you close the lid anymore - you must manually suuspend it. For a more advanced user, use dbus signals to inhibit suspend at night and resore the functionality during the day.

  4. #4
    Join Date
    May 2009
    Location
    México
    Beans
    320
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Automate tasks

    Try with CRON is really easy.

    If you type this command:

    Code:
    crontab -e
    If it's the first time you use it then it will ask what text editor do you want to use to add the jobs. I recommend to choose nano as it is easier.

    It will open a file to add the jobs, it also has the instructions on how to do it at the top of the document.
    http://rukiaenix.blogspot.com

    I never really envision the finish of anything that I start. It's risk that fascinates, the moment of infinite possibility.

  5. #5
    Join Date
    Aug 2012
    Beans
    3

    Re: Automate tasks

    Hate to sound lie a real newbie, but I cannot figure out how to start up cronon ubuntu 10.04. Can anybody help directing me to open cron, then wrtie a script to turn on and off pandora radio every day at a certain time.

  6. #6
    Join Date
    Oct 2007
    Beans
    1,797

    Re: Automate tasks

    Quote Originally Posted by sbnsbn View Post
    Hate to sound lie a real newbie, but I cannot figure out how to start up cronon ubuntu 10.04. Can anybody help directing me to open cron, then wrtie a script to turn on and off pandora radio every day at a certain time.
    The instructions that 'habitual' gives above look quite useful. Maybe start there.

  7. #7
    Join Date
    May 2009
    Location
    México
    Beans
    320
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Automate tasks

    If you just execute crontab -e you will see instructions there...
    http://rukiaenix.blogspot.com

    I never really envision the finish of anything that I start. It's risk that fascinates, the moment of infinite possibility.

  8. #8
    Join Date
    Aug 2012
    Beans
    3

    Re: Automate tasks

    Like I said, I am a real newbie with ubuntu. how do I type "crontab -e" into ubuntu?
    Do I use terminal (does not seem to work) or some other method to actually get the command to work. Any help please.

  9. #9
    Join Date
    May 2009
    Location
    México
    Beans
    320
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Automate tasks

    Yes, it is with terminal.... and you just type it.
    http://rukiaenix.blogspot.com

    I never really envision the finish of anything that I start. It's risk that fascinates, the moment of infinite possibility.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •