Some time ago I reinstalled FreeBSD on my pc after a shorter session with gentoo.
After some time I started noticing that my periodic scripts didn't run as expected.
Running periodic as root from the prompt works.
/var/log/cron shows that save-entropy and newsyslog runs as expected, but periodic and adjkerntz does not.
My crontab looks like this:
Checking for control characters shows only tabs and eol
Any hints of where to look?
After some time I started noticing that my periodic scripts didn't run as expected.
Running periodic as root from the prompt works.
/var/log/cron shows that save-entropy and newsyslog runs as expected, but periodic and adjkerntz does not.
My crontab looks like this:
# /etc/crontab - system crontab for FreeBSD##SHELL=/bin/shPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin##minute hour mday month wday who command## Save some entropy so that /dev/random can re-seed on boot.*/11 * * * * operator /usr/libexec/save-entropy## Rotate log files every hour, if necessary.0 * * * * root newsyslog## Perform daily/weekly/monthly maintenance.1 3 * * * root periodic daily15 4 * * 6 root periodic weekly30 5 1 * * root periodic monthly## Adjust the time zone if the CMOS clock keeps local time, as opposed to# UTC time. See adjkerntz(8) for details.1,31 0-5 * * * root adjkerntz -aChecking for control characters shows only tabs and eol
LANG=C sed -n '/[^ -~]/l' /etc/crontab#minute\thour\tmday\tmonth\twday\twho\tcommand$*/11\t*\t*\t*\t*\toperator /usr/libexec/save-entropy$0\t*\t*\t*\t*\troot\tnewsyslog$1\t3\t*\t*\t*\troot\tperiodic daily$15\t4\t*\t*\t6\troot\tperiodic weekly$30\t5\t1\t*\t*\troot\tperiodic monthly$1,31\t0-5\t*\t*\t*\troot\tadjkerntz -a$Any hints of where to look?