Gen users on department lists by a cronjob.
This commit is contained in:
parent
d4eb4af079
commit
d597ec106a
|
@ -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'],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue