• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

plesk-php-cleanuper turn off email notifications

paul133

New Pleskian
Hi
I am getting hourly emails notify me of "cleaned up" sessions.

They are very large and filling up the email account and slowing my email client.

I can not find anywhere to turn off these email notifications?

Can this be done for plesk-php-cleanuper from control panel or ssh somewhere?
 
Thanks for reply,

I have applied a fix ( https://kb.plesk.com/en/127120 ) and the fix ( https://kb.plesk.com/en/128185 ) for the "find 24 " error message.
And the above.

But I am still getting emails and with the "find" error....

email received 30MB
"/etc/cron.hourly/backup-plesk-php-cleanuper:

/usr/lib64/plesk-9.0/php_session_cleaner
/var/lib/php/session
/var/lib/php/session/sess_r8ljd18h07rta341iu4nt9lgg1

..................

/var/lib/php/session/sess_hkkaqngnqdqfav5eqnopm978n7
find: 24: No such file or directory"


Current plesk-php-cleanuper
----------------------------------------
# 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 ${maxlifetime}

# Look for and purge old sessions every hour

pgrep -f ".*$0$" | grep -qv $$ && exit 0

renice 19 -p $$ >/dev/null 2>&1

[ -x /usr/lib64/plesk-9.0/maxlifetime ] && [ -d /var/lib/php/session ] && /usr/lib64/plesk-9.0/php_session_cleaner /var/lib/php/session $(/usr/lib64/plesk-9.0/maxlifetime) 2>/dev/null
 
Back
Top