diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-04-30 15:32:00 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-04-30 15:32:00 +0100 |
commit | 8cfea04b6e3dfed3c49f8e9f11d142c7471d414b (patch) | |
tree | 0bac02c6d179fee73a8cfe3a0990e3ffbd80baef | |
parent | c75cb17eeed09970f41e03dbc0fd10cdc279344c (diff) | |
parent | 4208ae4026c625542423bf209858c3aa7df2297a (diff) |
Merge branch 'mail-server-logs-as-app-user' into rails-3-develop
-rw-r--r-- | config/crontab-example | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/crontab-example b/config/crontab-example index f65555b11..bfcba0568 100644 --- a/config/crontab-example +++ b/config/crontab-example @@ -16,9 +16,7 @@ MAILTO=!!(*= $mailto *)!! # Once an hour 09 * * * * !!(*= $user *)!! !!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/commonlib/bin/run-with-lockfile.sh -n !!(*= $vhost_dir *)!!/alert-comment-on-request.lock !!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/script/alert-comment-on-request || echo "stalled?" - -# Only root can read the log files -31 * * * * root !!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/commonlib/bin/run-with-lockfile.sh -n !!(*= $vhost_dir *)!!/load-mail-server-logs.lock !!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/script/load-mail-server-logs || echo "stalled?" +31 * * * * !!(*= $user *)!! !!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/commonlib/bin/run-with-lockfile.sh -n !!(*= $vhost_dir *)!!/load-mail-server-logs.lock !!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/script/load-mail-server-logs || echo "stalled?" # Once a day, early morning 31 1 * * * !!(*= $user *)!! !!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/commonlib/bin/run-with-lockfile.sh -n !!(*= $vhost_dir *)!!/change-xapian-database.lock "!!(*= $vhost_dir *)!!/!!(*= $vcspath *)!!/script/compact-xapian-database production !!(*= $site *)!!" || echo "stalled?" |