After DST change the vixie-cron removed /var/spool/cron/lastrun/cron.monthly AFTER executing scripts from /etc/cron.monthly/ Normal behaviour is to remove the file and THEN execute scripts from /etc/cron.monthly The result is that scripts from /etc/cron.monthly/ are executed twice, after negative DST change. SEE DETAILS BELOW ftp1 /var/log # zcat messages-2018*0[1-9].gz|grep "^... 1"|grep month Jan 1 05:29:01 ftp1 cron[4524]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Jan 1 05:30:01 ftp1 run-crons[4598]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Feb 1 05:29:01 ftp1 cron[30358]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Feb 1 05:30:01 ftp1 run-crons[30550]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Mar 1 05:29:01 ftp1 cron[28977]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Mar 1 05:30:01 ftp1 run-crons[29133]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Apr 1 05:29:01 ftp1 cron[25220]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Apr 1 05:30:01 ftp1 run-crons[25316]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) May 1 05:29:01 ftp1 cron[31266]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) May 1 05:30:01 ftp1 run-crons[31352]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Jul 1 05:29:01 ftp1 cron[18933]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Jul 1 05:30:01 ftp1 run-crons[19117]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Aug 1 05:29:01 ftp1 cron[18135]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Aug 1 05:30:01 ftp1 run-crons[18210]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Sep 1 05:29:01 ftp1 cron[26212]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Sep 1 05:30:01 ftp1 run-crons[27412]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Oct 1 05:29:01 ftp1 cron[5441]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Oct 1 05:30:01 ftp1 run-crons[5496]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Nov 1 04:40:01 ftp1 run-crons[11896]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) Nov 1 05:29:01 ftp1 cron[25190]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.monthly) Nov 1 13:50:01 ftp1 run-crons[29325]: (root) CMD (/etc/cron.monthly/check-smartctl_and_btrfs_scrub.sh) ftp1 /var/log # date Sun Nov 4 21:38:55 CET 2018 ftp1 /var/log # ps -ef|grep cron|grep -v grep root 6217 1 0 Oct14 ? 00:00:14 /usr/sbin/cron ftp1 /var/log # cat /etc/crontab # for vixie cron # Global variables SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # check scripts in cron.hourly, cron.daily, cron.weekly and cron.monthly 59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly 9 1 * * * root rm -f /var/spool/cron/lastrun/cron.daily 19 2 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly 29 5 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly */10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons ftp1 /var/log # eix vixie [I] sys-process/vixie-cron Available versions: 4.1-r14 4.1-r15 {debug pam selinux} Installed versions: 4.1-r15(09:24:38 PM 12/09/2017)(pam -debug -selinux) Homepage: ftp://ftp.isc.org/isc/cron/ Description: Paul Vixie's cron daemon, a fully featured crond implementation ftp1 /var/log # emerge --info Portage 2.3.49 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r7, 4.14.76-gentoo-xeon x86_64) ================================================================= System uname: Linux-4.14.76-gentoo-xeon-x86_64-Intel-R-_Xeon-R-_CPU_E3-1265L_V2_@_2.50GHz-with-gentoo-2.4.1 KiB Mem: 32897488 total, 635016 free KiB Swap: 16777208 total, 16777208 free Timestamp of repository gentoo: Sun, 04 Nov 2018 20:30:01 +0000 Head commit of repository gentoo: 842477878a80aa479021c381150a5d1762c8d116 sh bash 4.4_p12 ld GNU ld (Gentoo 2.30 p5) 2.30.0 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.5::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.38.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r2::gentoo sys-devel/binutils: 2.30-r4::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ http://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.supp.name/ rsync://ftp.halifax.rwth-aachen.de/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="cs en" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 bash-completion berkdb bzip2 cli conntrack crypt cxx device-mapper dmraid dri fortran ftp fuse gdbm gnutls hpn iconv icu idn imap ipv6 javascript jpeg libtirpc lm_sensors logrotate loop-aes lzma lzo mbox ncurses nfs nfsv4 nfsv41 nls nptl ogg openmp openssl pam pcre png pop posix rar readline seccomp smtp ssl tcpd truetype tty-helpers udev unicode vim-syntax xattr zip zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-64 pc coreboot efi-32 multiboot" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64 aarch64 arm" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
See "Oct 29" below: Oct 26 01:09:01 ftp1 cron[6578]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.daily) Oct 26 01:10:01 ftp1 run-crons[6633]: (root) CMD (/etc/cron.daily/hwclock-save) Oct 26 01:10:01 ftp1 run-crons[6675]: (root) CMD (/etc/cron.daily/logrotate) Oct 26 01:10:01 ftp1 run-crons[6689]: (root) CMD (/etc/cron.daily/makewhatis) Oct 26 01:10:01 ftp1 run-crons[6739]: (root) CMD (/etc/cron.daily/mlocate) Oct 26 01:10:05 ftp1 run-crons[7165]: (root) CMD (/etc/cron.daily/ups-test-daemon) Oct 27 01:09:01 ftp1 cron[18113]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.daily) Oct 27 01:10:01 ftp1 run-crons[18215]: (root) CMD (/etc/cron.daily/hwclock-save) Oct 27 01:10:02 ftp1 run-crons[18396]: (root) CMD (/etc/cron.daily/logrotate) Oct 27 01:10:02 ftp1 run-crons[18412]: (root) CMD (/etc/cron.daily/makewhatis) Oct 27 01:10:02 ftp1 run-crons[18463]: (root) CMD (/etc/cron.daily/mlocate) Oct 27 01:10:05 ftp1 run-crons[18775]: (root) CMD (/etc/cron.daily/ups-test-daemon) Oct 28 01:09:01 ftp1 cron[30403]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.daily) Oct 28 01:10:01 ftp1 run-crons[30585]: (root) CMD (/etc/cron.daily/hwclock-save) Oct 28 01:10:02 ftp1 run-crons[30695]: (root) CMD (/etc/cron.daily/logrotate) Oct 28 01:10:02 ftp1 run-crons[30786]: (root) CMD (/etc/cron.daily/makewhatis) Oct 28 01:10:03 ftp1 run-crons[30839]: (root) CMD (/etc/cron.daily/mlocate) Oct 28 01:11:12 ftp1 run-crons[31763]: (root) CMD (/etc/cron.daily/ups-test-daemon) Oct 29 00:20:01 ftp1 run-crons[11264]: (root) CMD (/etc/cron.daily/hwclock-save) Oct 29 00:20:02 ftp1 run-crons[11336]: (root) CMD (/etc/cron.daily/logrotate) Oct 29 00:20:02 ftp1 run-crons[11371]: (root) CMD (/etc/cron.daily/makewhatis) Oct 29 00:20:02 ftp1 run-crons[11423]: (root) CMD (/etc/cron.daily/mlocate) Oct 29 00:20:06 ftp1 run-crons[11791]: (root) CMD (/etc/cron.daily/ups-test-daemon) Oct 29 01:09:01 ftp1 cron[23990]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.daily) Oct 29 01:10:01 ftp1 run-crons[24050]: (root) CMD (/etc/cron.daily/hwclock-save) Oct 29 01:10:01 ftp1 run-crons[24142]: (root) CMD (/etc/cron.daily/logrotate) Oct 29 01:10:01 ftp1 run-crons[24146]: (root) CMD (/etc/cron.daily/makewhatis) Oct 29 01:10:01 ftp1 run-crons[24278]: (root) CMD (/etc/cron.daily/mlocate) Oct 29 01:10:05 ftp1 run-crons[24578]: (root) CMD (/etc/cron.daily/ups-test-daemon) Oct 30 01:09:01 ftp1 cron[3273]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.daily) Oct 30 01:10:01 ftp1 run-crons[3329]: (root) CMD (/etc/cron.daily/hwclock-save) Oct 30 01:10:01 ftp1 run-crons[3370]: (root) CMD (/etc/cron.daily/logrotate) Oct 30 01:10:01 ftp1 run-crons[3384]: (root) CMD (/etc/cron.daily/makewhatis) Oct 30 01:10:01 ftp1 run-crons[3433]: (root) CMD (/etc/cron.daily/mlocate) Oct 30 01:10:05 ftp1 run-crons[3670]: (root) CMD (/etc/cron.daily/ups-test-daemon)
Package removed.