change cronjob time
This commit is contained in:
parent
483df1fca6
commit
27354506a7
2 changed files with 6 additions and 2 deletions
|
@ -36,8 +36,10 @@ class net::cisoassistant {
|
||||||
group => 'root',
|
group => 'root',
|
||||||
content => file('net/cisoassistant/update-cisoas-enterprise.sh'),
|
content => file('net/cisoassistant/update-cisoas-enterprise.sh'),
|
||||||
}
|
}
|
||||||
sunet::scriptherder::cronjob { 'Upgrade cisoassistant images':
|
sunet::scriptherder::cronjob { 'upgrade cisoassistant images':
|
||||||
cmd => '/opt/cisoas/ciso-assistant-community/enterprise/update-cisoas-enterprise.sh',
|
cmd => '/opt/cisoas/ciso-assistant-community/enterprise/update-cisoas-enterprise.sh',
|
||||||
|
minute => '10',
|
||||||
|
hour => '7',
|
||||||
weekday => 'Saturday',
|
weekday => 'Saturday',
|
||||||
ok_criteria => ['exit_status=0', 'max_age=10d'],
|
ok_criteria => ['exit_status=0', 'max_age=10d'],
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,8 +77,10 @@ class net::cisoassistant_test ($ciso_service_name='',
|
||||||
content => template('net/cisoassistant/Caddyfile.erb'),
|
content => template('net/cisoassistant/Caddyfile.erb'),
|
||||||
} ->
|
} ->
|
||||||
|
|
||||||
sunet::scriptherder::cronjob { 'Upgrade cisoassistant images':
|
sunet::scriptherder::cronjob { 'upgrade cisoassistant images':
|
||||||
cmd => '/opt/cisoas/update-cisoas-enterprise.sh',
|
cmd => '/opt/cisoas/update-cisoas-enterprise.sh',
|
||||||
|
minute => '10',
|
||||||
|
hour => '7',
|
||||||
weekday => 'Saturday',
|
weekday => 'Saturday',
|
||||||
ok_criteria => ['exit_status=0', 'max_age=10d'],
|
ok_criteria => ['exit_status=0', 'max_age=10d'],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue