diff options
| author | klm | 1998-02-12 18:39:05 +0000 |
|---|---|---|
| committer | klm | 1998-02-12 18:39:05 +0000 |
| commit | 3e3050cce5ade2736ebfe0e8f9be3400e45ffda9 (patch) | |
| tree | 9510dcd5712fa8c74bb57acd6c3c751106479d39 | |
| parent | 547bbf9008f2f413ff3d5d03243694d6c7789e3a (diff) | |
| download | mailman-3e3050cce5ade2736ebfe0e8f9be3400e45ffda9.tar.gz mailman-3e3050cce5ade2736ebfe0e8f9be3400e45ffda9.tar.zst mailman-3e3050cce5ade2736ebfe0e8f9be3400e45ffda9.zip | |
First stab at simplifying specification of lists to be archived - take
multiple ones on command line.
| -rwxr-xr-x | cron/archive | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cron/archive b/cron/archive index 800cfaf19..3e1e58004 100755 --- a/cron/archive +++ b/cron/archive @@ -10,9 +10,8 @@ sys.path.append('/home/mailman/mailman/modules') import maillist, mm_cfg -list_name = sys.argv[1] +for list_name in sys.argv[1:]: - -list = maillist.MailList(list_name) -list.UpdateArchive() -list.Unlock() + list = maillist.MailList(list_name) + list.UpdateArchive() + list.Unlock() |
