Date: Sun, 17 Aug 2003 14:51:58 +0930 From: "Rob" <listone@deathbeforedecaf.net> To: "Rob Lahaye" <lahaye@snu.ac.kr>, <freebsd-questions@freebsd.org> Subject: Re: /etc/daily.local : old and for backwards compatibility ? What is new way ? Message-ID: <009c01c3647f$7b167780$a4b826cb@goo> References: <3F3F0CB0.4050205@snu.ac.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009c01c3647f$7b167780$a4b826cb>