Submit
Path:
~
/
/
etc
/
cron.hourly
/
File Content:
plesk-php-cleanuper
#!/bin/sh ### Copyright 1999-2025. WebPros International GmbH. All rights reserved. # 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/lib/plesk-9.0/maxlifetime ] && [ -d /var/lib/php/sessions ] && /usr/lib/plesk-9.0/php_session_cleaner /var/lib/php/sessions $(/usr/lib/plesk-9.0/maxlifetime)
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
.placeholder
102 bytes
0644
50plesk-hourly
189 bytes
0755
plesk-php-cleanuper
580 bytes
0755
N4ST4R_ID | Naxtarrr