The "cron" jobs can be managed from Git.

This commit is contained in:
Nilgün Belma Bugüner
2021-05-21 06:02:02 +03:00
parent 46603a7d86
commit 6bbd4d66e4
2 changed files with 6 additions and 2 deletions

View File

@ -1,2 +0,0 @@
30 */4 * * * /local/src/docweb/cron/daily/populatedocs

View File

@ -1,5 +1,11 @@
#!/bin/sh
# Only run every 4 hours
HOUR=`/bin/date +%H`
if [ `expr $HOUR % 4` -ne 0 ]; then
exit 0
fi
# This task run two shell scripts responsible for revision check
# - populatedocs.sh - checking out SVN docs repository into local filesystem
# - generation.sh - generating revision check database and charts