Skip to content

Commit

Permalink
Set up flock for run-jobs script
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Feb 27, 2023
1 parent f448bf8 commit 017fd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cron/crontab
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
0 1,5,9,13,17,21 * * * /usr/local/bin/generate-sitemap >> /var/log/cron.log 2>&1
1 5 */3 * * /usr/local/bin/update-special-pages >> /var/log/cron.log 2>&1
* * * * * /usr/local/bin/run-jobs
* * * * * /usr/bin/flock -n /tmp/run-jobs.lockfile /usr/local/bin/run-jobs

0 comments on commit 017fd6a

Please sign in to comment.