Forum: CFEngine Help
Subject: Re: cfengine causing crontab -e to crash..?
Author: mikesphar
Link to topic: https://cfengine.com/forum/read.php?3,24693,24706#msg-24706

Try to see if you can do a more specific match for just the cron daemon, and 
not any processes with "cron" in their name.   You might need to experiment on 
your systems to see what the process table looks like while someone is doing a 
crontab -e.  (Which in turn might require some OS-specific classes to account 
for slight differences.)

On the system I'm on at the moment for example, it looks like I should be able 
to match "/usr/sbin/cron" to avoid also matching again "crontab -e" or "vi 
/var/spool/cron/foo" or the like.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to