Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by john_oshea (Priest)
on Jul 03, 2007 at 12:22 UTC ( [id://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... ;-)

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://624655]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found