diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-11-06 13:57:07 +0000 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-11-06 13:57:07 +0000 |
commit | 8f5c0b93c6d11760745bc2996909af728dce8592 (patch) | |
tree | c68e9762534b8b5c09a5d01ebc57900033e3017b /modules | |
parent | 521863db533b6ed03bd941c302126cdddab893e2 (diff) |
Added delays to the updates modules
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/archupdates | 4 | ||||
-rwxr-xr-x | modules/voidupdates | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/archupdates b/modules/archupdates index ad8b405..30ee7a3 100755 --- a/modules/archupdates +++ b/modules/archupdates @@ -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 diff --git a/modules/voidupdates b/modules/voidupdates index 229fd42..9411637 100755 --- a/modules/voidupdates +++ b/modules/voidupdates @@ -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 |