Fix crontab bug
We need to add minutes, cron doesn't spam the processor every minute. Change-Id: I330a25f41ddbe761905d1dc6e2611025dfa77178 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
2bdf4a1d57
commit
dbefa1558e
@ -18,6 +18,7 @@
|
||||
class stackalytics (
|
||||
$stackalytics_ssh_private_key,
|
||||
$cron_hour = '*/8',
|
||||
$cron_minute = '0',
|
||||
$gerrit_ssh_user = 'stackalytics',
|
||||
$git_revision = 'master',
|
||||
$git_source = 'https://git.openstack.org/openstack/stackalytics',
|
||||
@ -109,6 +110,7 @@ class stackalytics (
|
||||
hour => $cron_hour,
|
||||
command => '/usr/local/bin/stackalytics-processor',
|
||||
environment => 'PATH=/usr/bin:/bin:/usr/sbin:/sbin',
|
||||
minute => $cron_minute,
|
||||
require => Exec['install-stackalytics'],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user