hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : tmpwatch
Reply

Forum Jump

tmpwatch

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-16-2002, 07:07 PM
ntwaddel ntwaddel is offline
Web Hosting Master
 
Join Date: Jul 2002
Location: San Luis Obispo, CA
Posts: 818

tmpwatch


ok, i had a problem with my /tmp filling up, i was originally just gonna drop a script in cron.monthly that rm -rf /tmp/* but someone told me tmpwatch is a better idea.

well in cron.daily i have tmpwatch which is

/usr/sbin/tmpwatch 240 /tmp
/usr/sbin/tmpwatch 720 /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
if [ -d "$d" ]; then
/usr/sbin/tmpwatch -f 720 $d
fi
done

well it doesent seem to be clearing out /tmp, because its still filling up with old files. So whats the trick to get tmpwatch to work correctly?

__________________
Nick Twaddell
WebSpace Solutions - Custom E-Solutions
Fast, Reliable, Affordable Web Hosting



Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?