--- etc/cron.d/foreman 2013-02-05 22:31:45.000000000 +0100 +++ etc/cron.d/foreman.bundle 2013-02-11 19:07:15.147455681 +0100 @@ -5,21 +5,21 @@ 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!