hosted by liquidweb

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

Forum Jump


Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
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


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

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

Related posts from
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
Log in with your username and password

Forgot Password?
Web Hosting News:



Welcome to

Create your username to jump into the discussion! 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?