Gen users on department lists by a cronjob.
This commit is contained in:
parent
2fb9e754cc
commit
5c3fa64086
|
@ -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