NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: (ana)cron question



On Wed, Aug 05, 2015 at 11:12:20AM -0453, William A. Mahaffey III wrote:
> 
> 
> I have several boxen on my LAN, all running some form of linux or *BSD. I
> want some of them to backup configuration files and/or /etc and/or the whole
> root fs for themselves & other LAN boxen periodically, probably weekly. I
> poked around on my NetBSD 6.1.5 server & have a question. It looks like I
> want root to do the backing up so as to have access to all the stuff under
> /etc or / on whatever box is getting backed up. That box apparently uses
> cron as root to take care of that for the system. I see that the root
> crontab accesses (possibly up to) 3 files in /etc to schedule tasks. I want
> to add to what it is doing, in a fashion which doesn't interfere w/ system
> operations & gets preserved across OS upgrades. I kinda expected some sort
> of crontab.local (following rc.local), but no such capability seems to
> exist.

It you're talking about the daily and weekly runs, you can create
a /etc/daily.local or /etc/weekly.local, they will get run.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index