Cron (was Re: [TriLUG] Backups)

Jeremy P jeremyp at pobox.com
Wed May 1 09:20:24 EDT 2002


To expand on that, the run-parts mechanism is what's used to "kick
off" the scripts in /etc/cron.daily, cron.weekly, etc.
One of the things that run-parts does is skip over files that end in ~ or
.rpmsave and other stuff like that, so you can make in-directory backups
safely.

--Jeremy

On 1 May 2002, Elliot Peele wrote:

> Michael,
> 
> The "root" part is the user that the scripts are being run as. The
> "run-parts" is a scripts /usr/bin/run-parts that takes in a directory to
> look in for executable scripts. The "<directory path>" is the directory
> that the scripts are stored in that are run by /usr/bin/run-parts.
> 
> Elliot
> 
> On Wed, 2002-05-01 at 00:34, M. Mueller wrote:
> > On Tuesday 30 April 2002 11:45 pm, you wrote:
> > > I have found that nothing really beats a good tar script in a crontab
> > > entry... 2 4 * * 1   mv ~backup/mail.tar.gz ~backup/mail.tar.gz.1; tar -czf
> > > ~backup/mail.tar.gz ~jonc/mail
> > 
> > Thanks for the nudge.
> > 
> > In man cron, man crontab, and man 5 crontab, I cannot find the explanation of 
> > the "root run-part <file path>" construct. Any hints on where to find it. 
> > (Probably in the man pages, but I'm too tired to see it.) Is this a generally 
> > available feature to all cron users, or is it restricted to the system 
> > crontab (/etc/crontab)?
> > 
> > -- 
> > Michael Mueller
> > Signalnetware, Inc.
> > www.signalnetware.com
> > 919.621.6090
> 




More information about the TriLUG mailing list