Compare commits
3
Commits
b2d47a4cc5
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4beaaa78a5 | ||
|
|
d86b3359ac | ||
|
|
ca20300809 |
@@ -167,8 +167,8 @@ Das Skript behandelt potenzielle Fehler folgendermaßen:
|
|||||||
## **Autoren**
|
## **Autoren**
|
||||||
|
|
||||||
- **Dein Name**
|
- **Dein Name**
|
||||||
E-Mail: [[email protected]](mailto:[email protected])
|
E-Mail: [[email protected]](mailto:[email protected])
|
||||||
GitHub: [DeinGitHub](https://github.com/DeinGitHub)
|
GitHub: [no](https://git.admins.tech/no)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ source "$BASE_DIR/functions/restart_service.sh"
|
|||||||
|
|
||||||
function is_within_business_hours() {
|
function is_within_business_hours() {
|
||||||
current_hour=$(date +%H)
|
current_hour=$(date +%H)
|
||||||
|
current_hour=$((10#$current_hour))
|
||||||
if (( current_hour >= 7 && current_hour < 18 )); then
|
if (( current_hour >= 7 && current_hour < 18 )); then
|
||||||
return 0 # True
|
return 0 # True
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user