tags 338294 +patch
clone 338294 -1
reassign -1 php5-common
retitle -1 php5-common: cron.d message after removal
thanks

The same problem appears to be present in php5-common as well, so i'm
duplicating this bug so that the problem is tracked in both packages.
I think the new cron script should look like (example for php5, but
easily applicable to php4 as well with s/php5/php4/g ):

/---------------------

# /etc/cron.d/php5: crontab fragment for php5
#  This purges session files older than X, where X is defined in seconds
#  as the largest value of session.gc_maxlifetime from all your php.ini
#  files, or 24 minutes if not defined.  See /usr/lib/php5/maxlifetime

# Look for and purge old sessions every 30 minutes
09,39 *     * * *     root   [ -d /var/lib/php5 ] && find /var/lib/php5/ -type 
f -cmin +$([ -x /usr/lib/php5/maxlifetime ] && /usr/lib/php5/maxlifetime || 
echo 24) -print0 | xargs -r -0 rm

\---------------------

Thanks for maintaining PHP in debian.

       --dkg

Attachment: pgpQaSPpdJagG.pgp
Description: PGP signature

Reply via email to