hilfe mein git ist komisch
This commit is contained in:
2
etc/cron.hourly/.placeholder
Normal file
2
etc/cron.hourly/.placeholder
Normal file
@@ -0,0 +1,2 @@
|
||||
# DO NOT EDIT OR REMOVE
|
||||
# This file is a simple placeholder to keep dpkg from removing this directory
|
||||
4
etc/cron.hourly/50plesk-hourly
Executable file
4
etc/cron.hourly/50plesk-hourly
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
### Copyright 1999-2025. WebPros International GmbH. All rights reserved.
|
||||
|
||||
/opt/psa/bin/sw-engine-pleskrun /opt/psa/admin/plib/DailyMaintainance/script.php hourly >/dev/null 2>&1
|
||||
14
etc/cron.hourly/plesk-php-cleanuper
Executable file
14
etc/cron.hourly/plesk-php-cleanuper
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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)
|
||||
Reference in New Issue
Block a user