The docs to installing cfengine refers to /var/spool/cron/crontabs/root That doesn't exist. Nor does /etc/crontab. Heck I remember that from the "old days", now there are lots of cron entries, in /etc but no crontab. Not installed by default. So, I'm hunting that one down. Nate, what did you wind up doing?? Ric -- ---------------------------------------------------- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. Linux user# 44256 Sign up at: http://counter.li.org/ https://nuoar.dev.java.net/ Verizon Cell # 336-254-1339
Hi, On Thu, Sep 11, 2008 at 15:23, Ric Moore <wayward4now at gmail.com> wrote:> The docs to installing cfengine refers to /var/spool/cron/crontabs/root > That doesn't exist.In RedHat/CentOS, this file is here: /var/spool/cron/root But you should not write to it directly, instead you should run the "crontab -e" command as root. See "man 1 crontab". This command is also distribution-agnostic, so it will work even on other distributions.> Nor does /etc/crontab.Yes it does. It is a file. Could you check this again on your system? If it really does not exist, do you have the "crontabs" RPM installed? If you don't, maybe something went wrong with your system's installation.> Heck I remember that from the > "old days", now there are lots of cron entries, in /etc but no crontab. > Not installed by default. So, I'm hunting that one down. Nate, what did > you wind up doing?? RicCheck again, because so far I've never seen a system without an /etc/crontab. HTH, Filipe
on 9-11-2008 12:23 PM Ric Moore spake the following:> The docs to installing cfengine refers to /var/spool/cron/crontabs/root > That doesn't exist. Nor does /etc/crontab. Heck I remember that from the > "old days", now there are lots of cron entries, in /etc but no crontab. > Not installed by default. So, I'm hunting that one down. Nate, what did > you wind up doing?? Ric >You usually edit crontab with "crontab -e", or you can drop scripts in the various cron.[daily|weekly|hourly] directories. -- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 250 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20080911/f5f76b4e/attachment-0002.sig>
Ric Moore wrote:> The docs to installing cfengine refers to /var/spool/cron/crontabs/root > That doesn't exist. Nor does /etc/crontab. Heck I remember that from the > "old days", now there are lots of cron entries, in /etc but no crontab. > Not installed by default. So, I'm hunting that one down. Nate, what did > you wind up doing?? RicThe file that the document is probably referring to is root's crontab which by default is in /var/spool/cron/root I believe, if the file isn't there then the root account has no crontab. But what I assume the docs are talking about is scheduling cfengine through crontab, something I've never done. I use the cfengine daemons themselves to do the scheduling(by default once an hour), just make sure cfexecd, cfenvd and cfservd are running on all systems and it should be fine. nate