ich habe in der Crontab einen Job drinnen, der offensichtlich nicht ausgeführt wird und ich komme nicht dahinter, was ich übersehen haben könnte, um es zum Laufen zu bekommen. Explizit geht es um den Neustart am Mittwoch (letzte Zeile).
Code: Alles auswählen
pi@pcf-cloud:~ $ uptime
12:52:00 up 8 days, 3:00, 1 user, load average: 0.07, 0.11, 0.06
pi@pcf-cloud:~ $ sudo crontab -l
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
*/15 * * * * echo "$(curl -s -4 -L https://ip.***.** || echo "")" > /etc/********/extip.txt
*/15 * * * * echo "$(curl -s -6 -L https://ip.***.** || echo "")" > /etc/********/extipv6
15 3 1,15 * * /usr/local/bin/pcfeecom/dhparam.sh > /dev/null 2>&1
0 3 * * * find /var/log/letsencrypt/ -iname "*" -mtime +14 -delete > /dev/null 2>&1
0 3 1,15 * * /usr/local/bin/pcfeecom/checkcert.sh > /dev/null 2>&1
0 2 * * 3 shutdown -r now
pi@pcf-cloud:~ $
System:
Code: Alles auswählen
pi@pcf-cloud:~ $ sudo cat /etc/*release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
//Nephilim