mirror of
https://github.com/php/web-doc.git
synced 2025-07-25 17:01:40 +00:00
The "cron" jobs can be managed from Git.
This commit is contained in:
@ -1,2 +0,0 @@
|
||||
30 */4 * * * /local/src/docweb/cron/daily/populatedocs
|
||||
|
@ -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
|
Reference in New Issue
Block a user