/etc/daily.local : old and for backwards compatibility ? What is new way ?

Rob listone at deathbeforedecaf.net
Sat Aug 16 22:22:03 PDT 2003


If you create the directory /usr/local/etc/periodic/daily, scripts
placed there will be executed during the daily run.

----- Original Message -----
From: "Rob Lahaye" <lahaye at snu.ac.kr>
Subject: /etc/daily.local : old and for backwards compatibility ? What
is new way ?


>
>
> Hi,
>
> I want to run my own script in the periodic/daily procedure
> (e.g. synchronize time with ntpdate and update ports with cvsup).
>
> I had a look at /etc/periodic/daily/999.local, which says:
>
>     # Run the old /etc/daily.local script.  This is really for
backwards
>     # compatibility more than anything else.
>
> Using /etc/daily.local makes things indeed very easy and straight
forward.
> But since this is mainly for backwards compatibility, I wonder what is
the
> new way of doing what I want to do.
> Appending my script to /etc/periodic/daily/999.local ?
>
> Thanks,
> Rob.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list