cron.d / cron.weekly

Roland Smith rsmith at xs4all.nl
Wed Sep 9 21:21:27 UTC 2015


On Mon, Sep 07, 2015 at 11:43:31PM -0600, reg at 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 
> 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 subdirectories
under /usr/local/etc/periodic/.

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

Roland
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150909/6d7afefe/attachment.bin>


More information about the freebsd-questions mailing list