Ubuntu Forums Archive Viewer

/var/log/syslog - cron question

Archived thread 704622 from Security Discussions. Markdown source: Security_Discussions/thread_704622_varlogsyslog_-_cron_question.md

Original URL About this archive
#1

*not sure if this is the proper category*

The below command is running every 30 minutes.. I'm not sure what it's for, or what it does. Should I be concerned about this? It's being run as root...


EXTRACT FROM /var/log/syslog:

Feb 22 15:39:01 lp /USR/SBIN/CRON[6854]: (root) CMD (  [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -r -0 rm)
#2

Looks like some cache is deleted every 30min.

#3

hmm. ok thanks.

#4

Removing old, no longer inuse PHP session files.