Re: questions about cron.daily
On Thu, 6 Apr 2023 Fred wrote:
[trimmed]
I also would like to know when cron.daily scripts run. Greg's command does
not appear to reveal the time for that script. I ran Greg's command and got
the same result.
$ grep -FA7 "Example of job definition" /etc/crontab ; grep daily /etc/crontab
# 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
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
--
You shall also keep a trowel in your equipment. With it, when you go
outside to ease nature, you shall first dig a hole and afterward cover
up your excrement. Since the Lord, your God, journeys along within
your camp [and would be displeased to step in it] -- Deuteronomy 23
Reply to: