Rerun primary mirror scan after one day
Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
parent
41b2d49e3c
commit
c6b8f53f85
1 changed files with 1 additions and 5 deletions
|
@ -66,11 +66,7 @@ else
|
|||
fi
|
||||
|
||||
# Rerun scan after 24 hours
|
||||
if [ "$FILEDATE" -lt $(expr $CURDATE - 86400) ]; then
|
||||
LASTRUN=0
|
||||
fi
|
||||
|
||||
if [ "$LASTRUN" -gt "$FILEDATE" ]; then
|
||||
if [ "$LASTRUN" -gt "$FILEDATE" ] && [ "$LASTRUN" -gt $(expr $CURDATE - 86400) ]; then
|
||||
# no changes on the master mirror
|
||||
# abort
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue