Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: A wrapper script for tmpwatch in Linux written in Perl

by john_oshea (Priest)
on Jul 03, 2007 at 12:22 UTC ( #624655=note: print w/ replies, xml ) Need Help??


in reply to A wrapper script for tmpwatch in Linux written in Perl

Somewhat off-topic, but would it not be simpler to run tmpwatch out of a cron job on each machine? That way you could pretty much forget about it...

This, of course, assumes that you can determine sane values for it on each machine that cater for those oh-so-pesky users... ;-)


Comment on Re: A wrapper script for tmpwatch in Linux written in Perl
Re^2: A wrapper script for tmpwatch in Linux written in Perl
by wishartz (Beadle) on Jul 03, 2007 at 12:43 UTC
    We already run a cronjob on each machine which runs tmpwatch, but sometimes with the environment I work in, some of the jobs use so much space that it needs to be run manually sometimes and this could be early in the morning. This script is for the operators work in shifts 24/7 and may need to run a tmpwatch to get rid of some of the files. My manager wants things simplified for them so they just run a script and choose from the menu options, to clean up some of the space.
      Can anybody suggest a better hash structure to use for this program? I've really hit a deadend with this. Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://624655]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-08-31 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls