Gen users on department lists by a cronjob.

This commit is contained in:
Magnus Andersson 2024-09-03 14:33:46 +02:00
parent eac5b172f2
commit 75c3a77c6d
Signed by untrusted user: mandersson
GPG key ID: 68E60E3294B84352

View file

@ -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'],
}
}
}