Bonjour,
Pour provoquer cet envoi de mél, j'exécute anacron -f
root@pcserveur-MS-7C92:/var/log# sudo rgrep anacron /etc/*
/etc/anacrontab:# /etc/anacrontab: configuration file for
anacron
/etc/anacrontab:# See anacron(8) and anacrontab(5) for details.
/etc/cron.d/anacron:# /etc/cron.d/anacron: crontab entries for
the anacron package
/etc/cron.d/anacron:30 7-23 * * * root [ -x
/etc/init.d/anacron ] && if [ ! -d /run/systemd/system
]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi
/etc/cron.daily/0anacron:# anacron's cron script
/etc/cron.daily/0anacron:# This script updates anacron time
stamps. It is called through run-parts
/etc/cron.daily/0anacron:# either by anacron itself or by cron.
/etc/cron.daily/0anacron:# The script is called "0anacron" to
assure that it will be executed
/etc/cron.daily/0anacron:test -x /usr/sbin/anacron || exit 0
/etc/cron.daily/0anacron:anacron -u cron.daily
/etc/cron.monthly/0anacron:# anacron's cron script
/etc/cron.monthly/0anacron:# This script updates anacron time
stamps. It is called through run-parts
/etc/cron.monthly/0anacron:# either by anacron itself or by
cron.
/etc/cron.monthly/0anacron:# The script is called "0anacron" to
assure that it will be executed
/etc/cron.monthly/0anacron:test -x /usr/sbin/anacron || exit 0
/etc/cron.monthly/0anacron:anacron -u cron.monthly
/etc/crontab:25 6 * * * root test -x /usr/sbin/anacron
|| ( cd / && run-parts --report /etc/cron.daily )
/etc/crontab:47 6 * * 7 root test -x /usr/sbin/anacron
|| ( cd / && run-parts --report /etc/cron.weekly )
/etc/crontab:52 6 1 * * root test -x /usr/sbin/anacron
|| ( cd / && run-parts --report /etc/cron.monthly )
/etc/cron.weekly/0anacron:# anacron's cron script
/etc/cron.weekly/0anacron:# This script updates anacron time
stamps. It is called through run-parts
/etc/cron.weekly/0anacron:# either by anacron itself or by cron.
/etc/cron.weekly/0anacron:# The script is called "0anacron" to
assure that it will be executed
/etc/cron.weekly/0anacron:test -x /usr/sbin/anacron || exit 0
/etc/cron.weekly/0anacron:anacron -u cron.weekly
/etc/default/anacron:# Environment File for anacron
/etc/default/anacron:# Please read
/usr/share/doc/anacron/README.Debian
/etc/default/anacron:# If set to "yes", start anacron even when
on battery power. By
/etc/default/anacron:# default, the /etc/init.d/anacron script
tries to avoid running
/etc/default/anacron:# anacron unless on AC power, so as to
avoid running down the battery.
/etc/default/anacron:# Arguments/options to pass to anacron.
/etc/init.d/anacron:# Provides: anacron
/etc/init.d/anacron:# Short-Description: Run anacron jobs
/etc/init.d/anacron:# Description: The first purpose of this
script is to run anacron at
/etc/init.d/anacron:# that anacron is not a
daemon. It is run here just once
/etc/init.d/anacron:# this script to start anacron
at those subsequent times,
/etc/init.d/anacron:test -x /usr/sbin/anacron || exit 0
/etc/init.d/anacron:test -r /etc/default/anacron && .
/etc/default/anacron
/etc/init.d/anacron: log_daemon_msg "Starting anac(h)ronistic
cron" "anacron"
/etc/init.d/anacron: start-stop-daemon --start --exec
/usr/sbin/anacron -- $ANACRON_ARGS
/etc/init.d/anacron: if init_is_upstart 2>/dev/null
&& status anacron 2>/dev/null | grep -q start
/etc/init.d/anacron: log_daemon_msg "Stopping anac(h)ronistic
cron" "anacron"
/etc/init.d/anacron: start-stop-daemon --stop --exec
/usr/sbin/anacron --oknodo --quiet --retry=USR1/90/TERM/5/KILL/5
/etc/init.d/anacron: echo "Usage: /etc/init.d/anacron
{start|stop|restart|force-reload|reload}"
le crontab contient
root@pcserveur-MS-7C92:/var/log# cat /etc/crontab
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.
SHELL=/bin/sh
LOGNAME=vaujanycl@???
MAILTO=root@localhost
# You can also override PATH, but by default, newer versions
inherit it from the environment
#PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR
sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
17 * * * * root cd / && run-parts --report
/etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd /
&& run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd /
&& run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd /
&& run-parts --report /etc/cron.monthly )
#
Le 15/08/2023 à 16:15, Christian
Marillat a écrit :
sudo rgrep Anacron /etc/*