Added delays to the updates modules

This commit is contained in:
Manuel Palenzuela 2019-11-06 13:57:07 +00:00
parent 521863db53
commit 8f5c0b93c6
2 changed files with 6 additions and 2 deletions

View file

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