Merge pull request #12 from thytom/delays

Added delays to the updates modules
This commit is contained in:
Baitinq 2019-11-06 13:59:25 +00:00 committed by GitHub
commit 23767a965b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -21,4 +21,6 @@ get_updates()
echo "$PREFIX$updates"
}
get_updates
if [ $(( 10#$(date '+%M') % 3 )) -eq 0 ] && [ $(( 10#$(date '+%S') )) -eq 5 ]; then
get_updates
fi

View file

@ -13,4 +13,6 @@ get_updates()
echo "$PREFIX$updates"
}
get_updates
if [ $(( 10#$(date '+%M') % 3 )) -eq 0 ] && [ $(( 10#$(date '+%S') )) -eq 5 ]; then
get_updates
fi