FC3 crontab/cron operation of ?
From: craig (craig_at_stellarnet.com)
Date: 02/27/05
- Next message: Jiggsy: "CD Burning Software for Fedora Core 3"
- Previous message: General Schvantzkoph: "Re: RH Linux 8 w/ SATA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Feb 2005 13:45:47 -0600
I'm trying to discover what I need to do to run a program on an hourly
bases.
"crond" the cron daemon is running.
I have a directory /ect with the following sub directories/folders
cron.hourly
cron.daily
cron.weekly
cron.monthly
I have a file in /etc titled simply crontab
It's contents follows:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
Some of these folders have scripts in them already. I see one for yum
called yum.cron So then I assume yum is being run daily?
I would think I can just write a script with the path to the script I
wanted executed hourly in the hourly.cron folder and it would be run by
cron. yes/no
When I run (as root) #crontab -l it reports: "no crontab for root" I
thought this would list the yum.cron I mentioned above. Does that mean
to say crontab isn't being called by the running crond?
thank you
- Next message: Jiggsy: "CD Burning Software for Fedora Core 3"
- Previous message: General Schvantzkoph: "Re: RH Linux 8 w/ SATA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|