Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2015 23:20:12 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        reg@dwf.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cron.d / cron.weekly
Message-ID:  <20150909212012.GA72256@slackbox.erewhon.home>
In-Reply-To: <201509080543.t885hVCM032666@deneb.dwf.com>
References:  <201509080543.t885hVCM032666@deneb.dwf.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 07, 2015 at 11:43:31PM -0600, reg@dwf.com wrote:
>
> Linux like systems have a directories cron.{daily,weekly,...}
> where you can put scripts to run daily/weekly, etc.
>
> I will assume that FreeBSD has something similar=20
> but I don't see it (or haven't loaded the appropriate
> package).

It's called periodic(8). Self-written scripts should go in the subdirectori=
es
under /usr/local/etc/periodic/.

Use the scripts in /etc/periodic/* as examples. The name of the scripts sta=
rts
with a number to determine the order in which the scripts are run.

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQIcBAABCAAGBQJV8KJ7AAoJEED21dyjijPgg/sP/0UsAMDV6ykbCVi6JdBedr6t
8S9px8Eu4141qmRw/7b3yvIrLhVOhb//bO0F/lofw9uG3BHl42nQVRi6vL0cN+Lt
eVlBQEpu4p7C3o+OhdWiH3KP1aK/2gYnEenQwdE++/39lJMfH/Eex6AchNjfY5F3
7TMdnrLk6tZ6NC1t9NmJrSw7f63UrMk+rDa0xeK268XpkVlpzZKqG3BOYr54dq9c
EeuexnBvkRpZPFHGzUEN78otvC9weT1Gsy2qDOUwhv2+DZ3DK1G0nfU3VXpnEw48
16XL3Y46JZ7EdcTz3tCmRJngQypz3HxMbMDUE3avZQtsAvK9jVRpRaQz6erUrn/6
yNmjImWK/Jm1lGVspeqVKkNDuzysPFaPVzj7vQF1KHUMHT6Pju2u/u93IWEihGRz
nRnasmYDLdLcSpF2LphvcTtaCRDsILX2yKBONR/6VVfjZ+9im5OcXshrymFsPZjO
B/5I9B3nAKMTrJNX+jwnpH1cawBNTGhCAIQ3Jq1yWQUXCmTtsamDXHq/EVy8tpxK
piitJKVvI9hVt2SaR8VRNJqOl2wfLOGhc5KESI/M7YDZ3M/HZjusBkAoqRPKQ9Su
lEPz6l5AapXWyElyKOovTwNft085D+Hd5lcqr5buebMxvbQY3QU15usiqvVsVTis
jaaiZdmz59tFm8TIIrye
=n5/r
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150909212012.GA72256>