[Pkg-puppet-devel] Bug#529224: Cron job removal

Jayen jashar at alumni.cmu.edu
Sun Aug 1 23:56:36 UTC 2010


The cron job was not added by puppet, but was around before we started
using puppet.  We're trying to clean up some of the old cron jobs using
puppet.

The crontab looks like:
# HEADER: This file was autogenerated at Thu Oct 02 17:39:56 +1000 2008
by puppet.
# HEADER: While it can still be managed manually, it is definitely not
recommended.
# HEADER: Note particularly that the comments starting with 'Puppet
Name' should
# HEADER: not be deleted, as doing so could cause duplicate cron jobs.
# m h  dom mon dow   command
# check open ports every 15mins
1-60/15 * * * * /usr/local/sbin/portcheck
# check logs every 10mins ie. to clear old hacks
1-60/10 * * * * /usr/local/sbin/logsucker


On 01/08/10 04:32, Stig Sandbeck Mathisen wrote:
> 
> Do you have a copy of the crontab, including comments?  The puppet cron
> provider uses comments to identify the presence of the cron jobs it
> handles.
> 
> Was this cron job created by puppet, or by someone/something else?  Did
> someone edit the crontab afterwards?
> 

-- 
Jayen Ashar

PhD Student (AI), UNSW
Linux SysAdmin, UNSW '09
MIT (Autonomous Systems), UNSW '08
Verification Engineer, IBM '07
ECE+CS+robotics+languages, CMU '02





More information about the Pkg-puppet-devel mailing list