Commit 027d4c51b81154185e197c32e252ca059f4a33b4
1 parent
279ab334
Exists in
master
and in
65 other branches
Add cron file to mailman recipe
Showing
2 changed files
with
19 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,15 @@ | @@ -0,0 +1,15 @@ | ||
1 | +0 8 * * * mailman /usr/lib/mailman/cron/checkdbs | ||
2 | + | ||
3 | +0 9 * * * mailman /usr/lib/mailman/cron/disabled | ||
4 | + | ||
5 | +0 12 * * * mailman /usr/lib/mailman/cron/senddigests | ||
6 | + | ||
7 | +0 5 1 * * mailman /usr/lib/mailman/cron/mailpasswds | ||
8 | + | ||
9 | +*/5 * * * * mailman /usr/lib/mailman/cron/gate_news | ||
10 | + | ||
11 | +27 3 * * * mailman /usr/lib/mailman/cron/nightly_gzip | ||
12 | + | ||
13 | +30 4 * * * mailman /usr/lib/mailman/cron/cull_bad_shunt | ||
14 | + | ||
15 | +* * * * * root /usr/lib/mailman/bin/check_perms -f |
cookbooks/mailman/recipes/default.rb
@@ -77,6 +77,10 @@ execute 'selinux-postfix-mailman' do | @@ -77,6 +77,10 @@ execute 'selinux-postfix-mailman' do | ||
77 | end | 77 | end |
78 | ####################################################################### | 78 | ####################################################################### |
79 | 79 | ||
80 | +cookbook_file '/etc/cron.d/mailman' do | ||
81 | + action :create | ||
82 | +end | ||
83 | + | ||
80 | cookbook_file '/etc/postfix/master.cf' do | 84 | cookbook_file '/etc/postfix/master.cf' do |
81 | notifies :reload, 'service[postfix]' | 85 | notifies :reload, 'service[postfix]' |
82 | end | 86 | end |