From owner-freebsd-questions Wed Jul 31 3:17:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6264037B400 for ; Wed, 31 Jul 2002 03:17:14 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBD1343E75 for ; Wed, 31 Jul 2002 03:17:13 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (a38934afec3fa9a4e515cb0379c24a5a@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g6VAHp2e051916; Wed, 31 Jul 2002 03:17:51 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g6VAHoj8051915; Wed, 31 Jul 2002 03:17:50 -0700 (PDT) (envelope-from monkey) Date: Wed, 31 Jul 2002 03:17:50 -0700 From: Adam Weinberger To: Mike Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Looking to learn the insides and outsides of /etc/periodic Message-ID: <20020731101750.GB80883@vectors.cx> References: <2200.192.168.1.10.1028098693.squirrel@email.unixhideout.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2200.192.168.1.10.1028098693.squirrel@email.unixhideout.com> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG check out: man periodic [periodic(1)] man periodic.conf [periodic.conf(5)] /etc/defaults/periodic.conf (put changes into /etc/periodic.conf) in /etc/periodic/, each subdirectory is run on a different schedule. within each dir, each file is executed (1) as long as it is executable, and (2) in numerical order. so daily/100.clean-disks runs before 110.clean-tmps. each file has a header that says what it does. from daily/340.uucp: # Local cleanup of UUCP files. This is for backwards compatibility, # /etc/uuclean.daily doesn't exist by default. # only some of these files create output. and those that do either are designed only to give you information, or they're just barfing on an error. IOW, the same script usually doesn't check stuff AND print out a summary of something. look through them and see what files they access and how they work. each program is just a shell script. if you can't decipher them, read the sh(1) manpage. it's a worthwhile skill to have. -Adam >> (07.30.2002 @ 2358 PST): Mike said, in 1.0K: << > > Hey guys, how's your week going? Good i hope! > > I want to learn more about /etc/periodic and how it works, can you reply > with some man pages i might refer to, and give me a small description of > these scripts? Looking through them i only see a handful that i have > actually seen DO something, like for example i have seen cron email me for > some of them, but a lot i have never been aware of. I dont expect you to > tell me all of them, ill refer to the manpages for that, but can you tell > me if they all run and some dont email me or if some need to be "turned > on" by some method? Oh and lastly i edited my signature. I didnt mean to > have my url twice. Its because the webmail we use has that footer, so it > was my signature on top of that! > > > ----------------------------------------- > Free email that kicks ass from UnixHideout > "The UnixHideout network" > http://www.unixhideout.com/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > >> end of "Looking to learn the insides and outsides of /etc/periodic" from Mike << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message