[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] crontab questions
- Subject: Re: [cobalt-users] crontab questions
- From: "Zeffie" <cobaltlist@xxxxxxxx>
- Date: Mon Dec 1 03:48:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> > I was just looking at my raq4 crontab dirs in /etc and have a few
> > questions.
> >
> > First, I have the following dirs:
> >
> > cron.d/
> > cron.daily/
> > cron.half-hourly/
> > cron.hourly/
> > cron.monthly/
> > cron.quarter-daily/
> > cron.quarter-hourly/
> >
> > Now oddly in /etc/crontab I only have the following:
> >
> > # 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
> >
> > So nothing for the half-hourly and quarter dirs. Is that right?
correct.... Don't take packages from strangers!!!!!!!!!
you have to edit the crontab file and add them if you want them (restart
crond)
> > Also what is the /etc/cron.d dir used for?
you make a file with something like "0 * * * * root /usr/sbin/someprogram"
and put it in that dir and they work...
> The quarter hourly one must be somewhere as this is what runs the internal
> monitoring.
> Phil
thats take care of here
[root]# cat /etc/crontab
...
# Monitor services to make sure everything is still okay.
0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1
Zeffie
Cobalt RaQ System Administration, Maintenance and Repairs.
http://www.zeffie.com/how_to_contact_zeffie.html 734.454.9117
http://www.zeffie.com/ Home of the Worlds Largest Collection of RaQ rpms
Advanced Cobalt Security, Firewall, Snort, AntiSpam, AntiVirus and other
GUI's