* Cleanup of /tmp through crontab
@ 1998-04-10 8:58 infosyst
0 siblings, 0 replies; only message in thread
From: infosyst @ 1998-04-10 8:58 UTC (permalink / raw)
To: tru64-unix-managers
Hi OSF managers,
I was wondering why my /tmp directory isn't cleaned up any more. I
looked at the
crontab entries and found the following lines:
20 4 * * * find /tmp ! -mount -type f -atime +2 -exec rm -f {} \;
30 4 * * * find /var/tmp ! -mount -type f -atime +7 -exec rm -f {} \;
This crontab entries are on those servers which were upgraded to 4.0B
DU. On other servers
that are still at 3.2D, I have the entries:
20 4 * * * find /tmp -type f -atime +2 -exec rm -f {} \;
30 4 * * * find /var/tmp -type f -atime +7 -exec rm -f {} \;
This 3.2D version perfectly cleans up all standard files not accessed
during the last 2 days. It is
this "! -mount" option on the 4.0B server that prevents the cleanup of
/tmp. So I am wondering
why this "! mount" option was added (probably during upgrade). Is there
a valuable reason for this
option to be present or can I simply delete it? Do you have the same
settings on 4.0B?
Thanks
Marty Cruchten
system manager - SAP technical consultant
Paul Wurth S.A.
Luxemburg
infosyst@paulwurth.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-04-10 8:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-10 8:58 Cleanup of /tmp through crontab infosyst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox