diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-06 11:02:45 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-06 11:34:28 +0000 |
commit | b476615a00ea8ad699c412c604cbae18388dedd7 (patch) | |
tree | 8cdf48b924afd98de9c168a07822515400670527 | |
parent | 8d7885217fdf4bf5061233679fbb42970cab1c3c (diff) |
run-with-lockfile takes the command+args as a single string
-rw-r--r-- | config/crontab.ugly | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/crontab.ugly b/config/crontab.ugly index fdfd9f171..43b191fd4 100644 --- a/config/crontab.ugly +++ b/config/crontab.ugly @@ -10,7 +10,7 @@ PATH=/usr/local/bin:/usr/bin:/bin MAILTO=cron-!!(*= $site *)!!@mysociety.org # Every 5 minutes -*/5 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/update-xapian-index.lock /data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/update-xapian-index verbose=true >> /data/vhost/!!(*= $vhost *)!!/logs/update-xapian-index.log || echo "stalled?" +*/5 * * * * !!(*= $user *)!! run-with-lockfile -n /data/vhost/!!(*= $vhost *)!!/update-xapian-index.lock "/data/vhost/!!(*= $vhost *)!!/!!(*= $vcspath *)!!/script/update-xapian-index verbose=true" >> /data/vhost/!!(*= $vhost *)!!/logs/update-xapian-index.log || echo "stalled?" # Every 10 minutes 5,15,25,35,45,55 * * * * !!(*= $user *)!! /etc/init.d/foi-alert-tracks check |