Re: (root) cmd /usr/lib/php5/maxlifetime
- From: "Simon. (Zed Argh Seven)" <sj_bradleyspam@xxxxxxxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 21:53:37 GMT
on Tue, 30 Jan 2007 11:22:44 +0100, Andreas Duffner
<NewsgroupTOnline.NoSpam.Duffner@xxxxxxxxxxxxxxx> wrote this wisdom:
Hi.
Today I found in my syslog the following:
(root) CMD ( [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin
+$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
Seems like it starts with testing if the directory /var/lib/php5 exists
That is what
[ -d /var/lib/php5 ]
is doing
and if so executes the find command afterwards which looks for files only where
the cmin age is greater than $(/usr/lib/php5/maxlifetime)
then it deletes them.
Looks like simple housekeeping.
--
Simon.
'Be Seeing You.
Who is number one?
I will not be pushed, filed, stamped, indexed, briefed, de-briefed or numbered.
Registered Linux User #300464 Machine Id #188886
Linux Counter - http://counter.li.org/
Remove the s.p.a.m to reply
.
- Follow-Ups:
- Re: (root) cmd /usr/lib/php5/maxlifetime
- From: Andreas Duffner
- Re: (root) cmd /usr/lib/php5/maxlifetime
- References:
- (root) cmd /usr/lib/php5/maxlifetime
- From: Andreas Duffner
- (root) cmd /usr/lib/php5/maxlifetime
- Prev by Date: Re: Split
- Next by Date: Disabling edit menu in gnome
- Previous by thread: (root) cmd /usr/lib/php5/maxlifetime
- Next by thread: Re: (root) cmd /usr/lib/php5/maxlifetime
- Index(es):