apt-get dist-upgrade and cron

From: Robert Wolfe (robert_at_wolfe.mine.nu)
Date: 09/25/05

  • Next message: Roger Creasy: "Newbie Network Problems"
    Date: Sat, 24 Sep 2005 19:04:05 -0400
    To: debian-user@lists.debian.org
    
    

    Hi folks. One question (which will really be my first question in the
    mailing list). I would like to run the following as a nightly cron job (in
    script format):

    apt-get update
    apt-get dist-upgrade

    What would I need to do to get this to work? Mainly, how do I get the cron
    job to run as root?

    --
    Robert Wolfe, MCP
    robert@wolfe.mine.nu
    __________________________________________________________________________
    Message sent using UebiMiau v 2.7.8 [Debian GNU/Linux for Sparc64 'Etch']
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Roger Creasy: "Newbie Network Problems"

    Relevant Pages

    • Re: apt-get dist-upgrade and cron
      ... > Hi folks. ... One question (which will really be my first question in the ... I would like to run the following as a nightly cron job (in ... > job to run as root? ...
      (Debian-User)
    • Re: apt-get dist-upgrade and cron
      ... Robert Wolfe wrote: ... > Hi folks. ... One question (which will really be my first question in the ... I would like to run the following as a nightly cron job (in ...
      (Debian-User)