etc/cron
This commit is contained in:
2
etc/cron.d/.placeholder
Normal file
2
etc/cron.d/.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
|
||||
2
etc/cron.d/e2scrub_all
Normal file
2
etc/cron.d/e2scrub_all
Normal file
@@ -0,0 +1,2 @@
|
||||
30 3 * * 0 root test -e /run/systemd/system || SERVICE_MODE=1 /usr/libexec/e2fsprogs/e2scrub_all_cron
|
||||
10 3 * * * root test -e /run/systemd/system || SERVICE_MODE=1 /sbin/e2scrub_all -A -r
|
||||
14
etc/cron.d/php
Normal file
14
etc/cron.d/php
Normal file
@@ -0,0 +1,14 @@
|
||||
# /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 ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi
|
||||
3
etc/cron.d/popularity-contest
Normal file
3
etc/cron.d/popularity-contest
Normal file
@@ -0,0 +1,3 @@
|
||||
SHELL=/bin/sh
|
||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
||||
46 20 * * * root test -x /etc/cron.daily/popularity-contest && /etc/cron.daily/popularity-contest --crond
|
||||
Reference in New Issue
Block a user