Re: Freeing some partition space...

From: Gustavo Seabra (seabra_at_ksu.edu)
Date: 01/26/05

  • Next message: Anjan Dave: "can't upgrade raid1 to 2.6.9"
    Date: Wed, 26 Jan 2005 16:00:23 -0600
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Paul Howarth wrote:

    >On Wed, 2005-01-26 at 15:51 -0600, Gustavo Seabra wrote:
    >
    >
    >>Paul Howarth wrote:
    >>
    >>
    >>>Fair enough; if you're a yum user, you may find that a significant space
    >>>saving can be made in /var by doing a "yum clean packages" periodically
    >>>(as root of course). I have a cron job to do this.
    >>>
    >>>
    >>>
    >>How do I set up this cron job? is it just writing a script and dumping
    >>it in a cron directory, like /etc/cron.weekly ?
    >>
    >>
    >
    >All I did was, as root, run "crontab -e"; this pulls up your favourite
    >editor (probably vi by default) with your current root crontab file, to
    >which I appended the following line:
    >
    >0 12 * * * /usr/bin/yum clean packages >/dev/null 2>&1
    >
    >This runs the command "/usr/bin/yum clean packages" at twelve minutes
    >past midnight every day and discards any output it generates.
    >
    >You can run "crontab -l" to list the crontab file for the current user,
    >and "crontab -e" to edit see. See "man crontab" for details of the
    >crontab command, and "man 5 crontab" for details of the file format.
    >
    >Paul.
    >
    >
    Thanks a lot!

    -- 
    ----------------------------------
    Gustavo Seabra - Graduate Student
    Chemistry Department
    Kansas State University
    ----------------------------------
    If at first you don't succeed...
          ...skydiving is not for you.
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Anjan Dave: "can't upgrade raid1 to 2.6.9"

    Relevant Pages

    • Re: how do "real" python programmers work?
      ... >the same thing is done in Python. ... I have an editor I use for writing C code with a button I've ... When a script is ready to test, ...
      (comp.lang.python)
    • Re: LAtex (again)
      ... I reckon Oliver is one of those types who would do well writing ... on how to write a LaTeX document, ... In the beginning you can use Notepad or any other text editor you ...
      (comp.text.tex)
    • Re: [WR] round tuits
      ... Jackson Pillock wrote: ... I do, too many projects going, not enough time, priorities lean toward ... I started writing a precinct drama set in a locked psychiatric ward. ... Sent off my script. ...
      (misc.writing)
    • Re: crisis Perl
      ... As to writing good code to begin with, ... the top of the script. ... the "use warnings;" line won't actually change ... recommended declaring variables IN AS SMALL AS SCOPE AS POSSIBLE. ...
      (comp.lang.perl.misc)
    • Marginally archaeaology: Eight scripts that still cant be read
      ... WRITING is one of the greatest inventions in human history. ... literate civilisation at the time of the ... So how do you decipher an unknown script? ... there must be some link to a known language. ...
      (sci.archaeology)

    Loading