Results 1 to 2 of 2

Thread: After upgraded, cron doesn't work.

  1. #1
    Join Date
    Nov 2008
    Beans
    1

    After upgraded, cron doesn't work.

    Hello, my ubuntu is 8.04.

    I used cron to shutdown my ubuntu box automatically. But after sudo apt-get upgrade. ubuntu cannot be shutdowned automatically by crontab.

    ps -e | grep cron

    1705 00:00:01 cron

    Thank you very much!

  2. #2
    Join Date
    Jun 2007
    Location
    Greater Boston
    Beans
    1,586
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: After upgraded, cron doesn't work.

    Before doing the following, please note this is for testing purposes, and you will need to undo this within five minutes.


    Add this to /etc/crontab (using sudo)

    * * * * * root echo test

    You should start getting emails.

    Don't forget to remove the line from /etc/crontab.

    If you don't get email, look in messages or syslogd to see what's up.
    cmn

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
  •