Blog

Jueves, 17 Mayo 2018 20:08

Parar el mailing masivo de cron con asunto [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean

Written by 
Rate this item
(0 votes)

Para parar el mailing masivo de cron que envía cada 30 minutos correos con asunto: 

[ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean

Y en el cuerpo del mensaje:

Cannot load the ionCube PHP Loader - it was already loaded

Hay que localizar el fichero php dentro de cron.d

/etc/cron.d# cat php

# /etc/cron.d/php@PHP_VERSION@: crontab fragment for PHP

#  This purges session files in session.save_path older than X,

#  where X is defined in seconds as the largest value of

#  session.gc_maxlifetime from all your SAPI php.ini files

#  or 24 minutes if not defined.  The script triggers only

#  when session.save_handler=files.

#

#  WARNING: The scripts tries hard to honour all relevant

#  session PHP options, but if you do something unusual

#  you have to disable this script and take care of your

#  sessions yourself.

 

# Look for and purge old sessions every 30 minutes

09,39 *     * * *     root   [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean

Añadir mailto=""

 

Read 1144 times
More in this category: « Instalar ioncube en UBUNTU

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.