diff --git a/manifests/multinode_db.pp b/manifests/multinode_db.pp index 4c6dd58..b4bfc6e 100644 --- a/manifests/multinode_db.pp +++ b/manifests/multinode_db.pp @@ -55,5 +55,12 @@ class sunetdrive::multinode_db(){ group => 'root', mode => '0700', } + sunet::scriptherder::cronjob { 'genuserdeplists': + cmd => '/root/tasks/genusersondepartmentlists.sh', + hour => '2', + minute => '5', + ok_criteria => ['exit_status=0','max_age=30h'], + warn_criteria => ['exit_status=1', 'max_age=60h'], + } } }