Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: no problem!!!!!!

  1. #1
    Join Date
    Jan 2012
    Beans
    28

    Question no problem!!!!!!

    hello i cant find bug in this line its not working!!!

    13 * * * * /usr/sbin/rtcwake -m mem -s 60


    i hava also added a newline at end of this ..

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: no problem!!!!!!

    Welcome to the Ubuntu Forums

    I haven't used that command myself but assume you need root privileges. Are you running it with your user's crontab or with root's crontab?

    Code:
    sudo crontab -e

  3. #3
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: no problem!!!!!!

    are you using roots cron or your own?

  4. #4
    Join Date
    Jan 2012
    Beans
    28

    Re: no problem!!!!!!

    sir im using user crontab

  5. #5
    Join Date
    Jan 2012
    Beans
    28

    Re: no problem!!!!!!

    im just using user's crontab....and that command
    i ran from terminal works fine...sleeps pc for 60 seconds

  6. #6
    Join Date
    Jun 2011
    Location
    Las Vegas
    Beans
    Hidden!
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: no problem!!!!!!

    To edit crons you should use:
    sudo crontab -u root -e

  7. #7
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: no problem!!!!!!

    Quote Originally Posted by ankt90138 View Post
    im just using user's crontab....and that command
    i ran from terminal works fine...sleeps pc for 60 seconds
    Does it not need sudo ?

  8. #8
    Join Date
    Jan 2012
    Beans
    28

    Re: no problem!!!!!!

    not thats working fine..only rooted cron jobs works in ubuntu precise..

    how to start.stop and restart those jobs..
    over the internet irs written /etc/init.d/crond start/stop/restart but this command is not working.no such file or directory...

    plz tell how do i start or stop these jobs..

  9. #9
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: no problem!!!!!!

    Sorry, double post.
    Last edited by 3rdalbum; January 15th, 2013 at 05:58 AM.
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

  10. #10
    Join Date
    Dec 2005
    Location
    Western Australia
    Beans
    11,480
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: no problem!!!!!!

    Quote Originally Posted by ankt90138 View Post
    not thats working fine..only rooted cron jobs works in ubuntu precise..

    how to start.stop and restart those jobs..
    over the internet irs written /etc/init.d/crond start/stop/restart but this command is not working.no such file or directory...

    plz tell how do i start or stop these jobs..
    Your information is outdated. These days Ubuntu uses a different system to control services:

    Code:
    sudo service crond start
    I try to treat the cause, not the symptom. I avoid the terminal in instructions, unless it's easier or necessary. My instructions will work within the Ubuntu system, instead of breaking or subverting it. Those are the three guarantees to the helpee.

Page 1 of 2 12 LastLast

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
  •