Gen users on department lists by a cronjob.

This commit is contained in:
Magnus Andersson 2024-09-03 14:33:46 +02:00 committed by Micke Nordin
parent a329a46491
commit a51cc9fdc4
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -55,5 +55,12 @@ class sunetdrive::multinode_db(){
group => 'root', group => 'root',
mode => '0700', 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'],
}
} }
} }