Revision cf4861dd
Added by Lukas Zapletal over 10 years ago
extras/packaging/rpm/sources/foreman.cron.d | ||
---|---|---|
# Collects trends data
|
||
*/30 * * * * foreman /usr/sbin/foreman-rake trends:counter >/var/log/foreman/cron.log 2>&1
|
||
|
||
# Remove duplicate trends data
|
||
0 8 * * * foreman /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
fixes #3983 - added trends:clean to cron