Results 1 to 2 of 2

Thread: Cronjobs aren't working any idea?

  1. #1
    Join Date
    Mar 2008
    Beans
    51

    Cronjobs aren't working any idea?

    hi all,
    I have a command (/usr/bin/killall /usr/bin/python -s SIGSTOP) i need to run daily on my ubuntu box at 6pm, but it needs to run as root to work, which is why I think cronjobs aren't working. I also need /usr/bin/killall /usr/bin/python -s SIGCONT to run at 11pm daily (again, as root).

    Any ideas on how to make this work?
    thanks,
    Nappymonster
    Dual booting Gusty + Vista
    Trying to tri boot Gusty + Vista + Leopard

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Cronjobs aren't working any idea?

    To run commands requiring root privileges, you can set up a root cron job with the command:
    Code:
    sudo crontab -e
    These jobs will be run as root.

    For more info, here is the community documentation:
    CronHowto
    GRUB2

    Retired.

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
  •