Skip to content

Commit

Permalink
silence cronjobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Sturm committed Mar 15, 2012
1 parent 13237da commit e886480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -3,7 +3,7 @@
license "Apache 2.0"
description "Graylog2 log management and exception tracking"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.0.2"
version "0.0.3"

depends "elasticsearch"
depends "java"
Expand Down
4 changes: 2 additions & 2 deletions recipes/_web_cronjobs.rb
Expand Up @@ -8,7 +8,7 @@
cron "send graylog2 stream alarms" do
minute node['graylog2']['web_interface']['streamalarms']['cron_minute']
action streamalarm_action
command "cd #{node['graylog2']['prefix']}/graylog2-web-interface-#{node['graylog2']['web_interface']['version']} && RAILS_ENV=production bundle exec rake streamalarms:send | grep -v 'All done'"
command "cd #{node['graylog2']['prefix']}/graylog2-web-interface-#{node['graylog2']['web_interface']['version']} && RAILS_ENV=production bundle exec rake streamalarms:send > /dev/null"
path "/bin:/usr/bin:/usr/local/bin"
end

Expand All @@ -20,6 +20,6 @@
cron "send graylog2 stream subscriptions" do
minute node['graylog2']['web_interface']['subscriptions']['cron_minute']
action subscription_action
command "cd #{node['graylog2']['prefix']}/graylog2-web-interface-#{node['graylog2']['web_interface']['version']} && RAILS_ENV=production bundle exec rake subscriptions:send | grep -v 'All done'"
command "cd #{node['graylog2']['prefix']}/graylog2-web-interface-#{node['graylog2']['web_interface']['version']} && RAILS_ENV=production bundle exec rake subscriptions:send > /dev/null"
path "/bin:/usr/bin:/usr/local/bin"
end

0 comments on commit e886480

Please sign in to comment.