cron/crontab ?
From: craig (craig_at_stellarnet.com)
Date: 02/28/05
- Next message: Bit Twister: "Re: cron/crontab ?"
- Previous message: Parko: "Re: Is there a distro that can do Winmodems?"
- Next in thread: Bit Twister: "Re: cron/crontab ?"
- Reply: Bit Twister: "Re: cron/crontab ?"
- Reply: Ivan Marsh: "Re: cron/crontab ?"
- Reply: noi: "Re: cron/crontab ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 08:37:32 -0600
"crond" the cron daemon is running.
I have a directory /etc 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?
Can 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?
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? If not how
would I go about activating the current .cron scripts?
thank you
- Next message: Bit Twister: "Re: cron/crontab ?"
- Previous message: Parko: "Re: Is there a distro that can do Winmodems?"
- Next in thread: Bit Twister: "Re: cron/crontab ?"
- Reply: Bit Twister: "Re: cron/crontab ?"
- Reply: Ivan Marsh: "Re: cron/crontab ?"
- Reply: noi: "Re: cron/crontab ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|