@@ -2341,6 +2341,7 @@ def _generate_confs_writefiles(options, user_dict, insert_list=[], cleanup_list=
23412341 ("migcheckssl-template.sh.cronjob" , "migcheckssl" ),
23422342 ("migacctexpire-template.sh.cronjob" , "migacctexpire" ),
23432343 ("migverifyarchives-template.sh.cronjob" , "migverifyarchives" ),
2344+ ("migstats-template.sh.cronjob" , "migstats" ),
23442345 ("miglustrequota-template.sh.cronjob" , "miglustrequota" ),
23452346 ]
23462347 overrides_out_name = {
@@ -2519,15 +2520,18 @@ def _generate_confs_instructions(options, user_dict):
25192520sudo cp %(destination)s/mig{stateclean,errors,sftpmon,importdoi,notifyexpire} \\
25202521 /etc/cron.daily/
25212522
2522- The migcheckssl, migverifyarchives, migacctexpire and miglustrequota files
2523- are cron scripts to automatically check for LetsEncrypt certificate renewal,
2524- run pending archive verification before sending a copy to tape,
2525- generate account expire stats and create/update lustre quota.
2523+ The migcheckssl, migverifyarchives, migstats, migacctexpire and miglustrequota
2524+ files are cron scripts to automatically check for LetsEncrypt certificate
2525+ renewal, run pending archive verification before sending a copy to tape, save
2526+ various usage stats, generate account expire stats and create/update lustre
2527+ quota.
25262528You can install them with:
25272529chmod 700 %(destination)s/migcheckssl
25282530sudo cp %(destination)s/migcheckssl /etc/cron.daily/
25292531chmod 700 %(destination)s/migverifyarchives
25302532sudo cp %(destination)s/migverifyarchives /etc/cron.hourly/
2533+ chmod 700 %(destination)s/migstats
2534+ sudo cp %(destination)s/migstats /etc/cron.weekly/
25312535chmod 700 %(destination)s/migacctexpire
25322536sudo cp %(destination)s/migacctexpire /etc/cron.monthly/
25332537chmod 700 %(destination)s/miglustrequota
0 commit comments