Revision 073dd8ff
Added by Andreas Paul over 10 years ago
debian/wheezy/foreman/foreman.cron.d | ||
---|---|---|
# Collects trends data
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/sbin/foreman-rake trends:counter >/var/log/foreman/cron.log 2>&1
|
||
|
||
# Remove duplicate trends data
|
||
0 8 * * * foreman cd ${FOREMAN_HOME} && /usr/sbin/foreman-rake trends:clean >/var/log/foreman/cron.log 2>&1
|
||
|
||
# Only use the following cronjob if you're not using the ENC or ActiveRecord-based storeconfigs
|
||
# Get the node.rb / ENC script and store at /etc/puppet/node.rb:
|
||
# https://github.com/theforeman/puppet-foreman/blob/master/templates/external_node.rb.erb
|
Also available in: Unified diff
add trends:clean rake task