Revision 2021f720
Added by Greg Sutcliffe over 11 years ago
debian/precise/nightly/foreman/foreman.cron.d | ||
---|---|---|
FOREMAN_HOME=/usr/share/foreman
|
||
|
||
# Clean up the session entries in the database
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake db:sessions:clear
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake db:sessions:clear
|
||
|
||
# Send out daily summary
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:summarize
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:summarize
|
||
|
||
# Expire old reports
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:expire
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:expire
|
||
|
||
# Collects trends data
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake trends:counter
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake trends:counter
|
||
|
||
|
||
# Only use the following cronjob if you're using stored configs!
|
||
# Populate hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake puppet:migrate:populate_hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake puppet:migrate:populate_hosts
|
||
|
||
|
||
# Only uncomment the following cronjob if you're not using stored configs!
|
debian/precise/rc/foreman/foreman.cron.d | ||
---|---|---|
FOREMAN_HOME=/usr/share/foreman
|
||
|
||
# Clean up the session entries in the database
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake db:sessions:clear
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake db:sessions:clear
|
||
|
||
# Send out daily summary
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:summarize
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:summarize
|
||
|
||
# Expire old reports
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:expire
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:expire
|
||
|
||
# Collects trends data
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake trends:counter
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake trends:counter
|
||
|
||
|
||
# Only use the following cronjob if you're using stored configs!
|
||
# Populate hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake puppet:migrate:populate_hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake puppet:migrate:populate_hosts
|
||
|
||
|
||
# Only uncomment the following cronjob if you're not using stored configs!
|
debian/precise/stable/foreman/foreman.cron.d | ||
---|---|---|
FOREMAN_HOME=/usr/share/foreman
|
||
|
||
# Clean up the session entries in the database
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake db:sessions:clear
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake db:sessions:clear
|
||
|
||
# Send out daily summary
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:summarize
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:summarize
|
||
|
||
# Expire old reports
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:expire
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:expire
|
||
|
||
# Collects trends data
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake trends:counter
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake trends:counter
|
||
|
||
|
||
# Only use the following cronjob if you're using stored configs!
|
||
# Populate hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake puppet:migrate:populate_hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake puppet:migrate:populate_hosts
|
||
|
||
|
||
# Only uncomment the following cronjob if you're not using stored configs!
|
debian/squeeze/nightly/foreman/foreman.cron.d | ||
---|---|---|
FOREMAN_HOME=/usr/share/foreman
|
||
|
||
# Clean up the session entries in the database
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake db:sessions:clear
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake db:sessions:clear
|
||
|
||
# Send out daily summary
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:summarize
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:summarize
|
||
|
||
# Expire old reports
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:expire
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:expire
|
||
|
||
# Collects trends data
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake trends:counter
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake trends:counter
|
||
|
||
|
||
# Only use the following cronjob if you're using stored configs!
|
||
# Populate hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake puppet:migrate:populate_hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake puppet:migrate:populate_hosts
|
||
|
||
|
||
# Only uncomment the following cronjob if you're not using stored configs!
|
debian/squeeze/rc/foreman/foreman.cron.d | ||
---|---|---|
FOREMAN_HOME=/usr/share/foreman
|
||
|
||
# Clean up the session entries in the database
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake db:sessions:clear
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake db:sessions:clear
|
||
|
||
# Send out daily summary
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:summarize
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:summarize
|
||
|
||
# Expire old reports
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:expire
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:expire
|
||
|
||
# Collects trends data
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake trends:counter
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake trends:counter
|
||
|
||
|
||
# Only use the following cronjob if you're using stored configs!
|
||
# Populate hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake puppet:migrate:populate_hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake puppet:migrate:populate_hosts
|
||
|
||
|
||
# Only uncomment the following cronjob if you're not using stored configs!
|
debian/squeeze/stable/foreman/foreman.cron.d | ||
---|---|---|
FOREMAN_HOME=/usr/share/foreman
|
||
|
||
# Clean up the session entries in the database
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake db:sessions:clear
|
||
15 23 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake db:sessions:clear
|
||
|
||
# Send out daily summary
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:summarize
|
||
0 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:summarize
|
||
|
||
# Expire old reports
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake reports:expire
|
||
30 7 * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake reports:expire
|
||
|
||
# Collects trends data
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake trends:counter
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake trends:counter
|
||
|
||
|
||
# Only use the following cronjob if you're using stored configs!
|
||
# Populate hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && /usr/bin/rake puppet:migrate:populate_hosts
|
||
*/30 * * * * foreman cd ${FOREMAN_HOME} && bundle exec /usr/bin/rake puppet:migrate:populate_hosts
|
||
|
||
|
||
# Only uncomment the following cronjob if you're not using stored configs!
|
Also available in: Unified diff
Fixes #2195 use bundler for cron commands