Re: What controls when /etc/cron.d/ files are run?

Noel Butler via slackware <[email protected]> Mon, 11 Mar 2024 11:47:03 +1000
Newsgroups gmane.linux.slackware
Message-ID <[email protected]>
--===============1682228724457985347==
Content-Type: multipart/alternative;
 boundary="=_b570ac5a5f9bc4929f112736812a0b95"

--=_b570ac5a5f9bc4929f112736812a0b95
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

On 10/03/2024 23:45, Rich Shepard via slackware wrote:

> On Sun, 10 Mar 2024, Noel Butler via slackware wrote:
> 
>> roots crontab
>> */5 * * * * run-parts /etc/cron.d > /dev/null 2>&1
> 
> Noel,
> 
> Makes sense. I've not had that in root's crontab.
> 
> Thank you,
> 
> Rich

Well I'll be damned....

I've just looked at the original dist package for dcron in 15.0 and 
you're right,  it doesn't include cron.d  I wonder when that was changed 
and why, our mirror still holds 14.0 (I guess I need to remove  <15.0 
since most things modern don't build on them) but even it doesnt have 
cron.d, so that's what, 12 years...

My cron files have been carried over through upgrades and new builds 
since Adam was a boy so I assumed it had to be included at some point, 
maybe I added it myself then...

I can't for life of me understand why it's not when other major distros 
do it (we run an aviation ADSB receiver that's software requires stock 
debian and it has it, and run FreePBX on stock CentOS, that has it too, 
both run every 5 mins), perhaps its been an oversight and nobody has 
asked the question, but I think it should be added.

BCC'd Pat for "feature request"

-- 
Regards,
Noel Butler
--=_b570ac5a5f9bc4929f112736812a0b95
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 12pt; font-family: Verdana,Gen=
eva,sans-serif'>
<p id=3D"reply-intro">On 10/03/2024 23:45, Rich Shepard via slackware wrote=
:</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
<span style=3D"white-space: nowrap;">On&nbsp;Sun,&nbsp;10&nbsp;Mar&nbsp;202=
4,&nbsp;Noel&nbsp;Butler&nbsp;via&nbsp;slackware&nbsp;wrote:</span><br /><b=
r />
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0"><span style=3D"white-space: nowrap;">roots&nbsp;cronta=
b</span><br /><span style=3D"white-space: nowrap;">*/5&nbsp;*&nbsp;*&nbsp;*=
&nbsp;*&nbsp;run-parts&nbsp;/etc/cron.d&nbsp;&gt;&nbsp;/dev/null&nbsp;2&gt;=
&amp;1</span></blockquote>
<br /><span style=3D"white-space: nowrap;">Noel,</span><br /><br /><span st=
yle=3D"white-space: nowrap;">Makes&nbsp;sense.&nbsp;I've&nbsp;not&nbsp;had&=
nbsp;that&nbsp;in&nbsp;root's&nbsp;crontab.</span><br /><br /><span style=
=3D"white-space: nowrap;">Thank&nbsp;you,</span><br /><br />Rich</div>
</blockquote>
<p><br /></p>
<p>Well I'll be damned....</p>
<p>I've just looked at the original dist package for dcron in 15.0 and you'=
re right, &nbsp;it doesn't include cron.d &nbsp;I wonder when that was chan=
ged and why, our mirror still holds 14.0 (I guess I need to remove &nbsp;&l=
t;15.0 since most things modern don't build on them) but even it doesnt hav=
e cron.d, so that's what, 12 years...</p>
<p>My cron files have been carried over through upgrades and new builds sin=
ce Adam was a boy so I assumed it had to be included at some point, maybe I=
 added it myself then...</p>
<p>I can't for life of me understand why it's not when other major distros =
do it (we run an aviation ADSB receiver that's software requires stock debi=
an and it has it, and run FreePBX on stock CentOS, that has it too, both ru=
n every 5 mins), perhaps its been an oversight and nobody has asked the que=
stion, but I think it should be added.</p>
<p>BCC'd Pat for "feature request"</p>
<div id=3D"signature">-- <br />
<p>Regards,<br />Noel Butler</p>
<p><br /></p>
</div>
</body></html>

--=_b570ac5a5f9bc4929f112736812a0b95--


--===============1682228724457985347==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
slackware mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/slackware

--===============1682228724457985347==--