Cron (was Re: [TriLUG] Backups)

Elliot Peele elliot at trilug.org
Wed May 1 00:59:15 EDT 2002


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
-- 
/*****************************************************************
* Elliot Peele                                                   *
* Student in Computer Science     Computer Systems Administrator *
* NC State University             Department of Physics          *      
* elliot at trilug.org               ebpeele2 at unity.ncsu.edu        *
*****************************************************************/

	Avoid the Gates of Hell.  Use Linux
			--/usr/games/fortune linuxcookie

	lp1 on fire (One of the more obfuscated kernel messages)




More information about the TriLUG mailing list