Compare commits

...
3 Commits
Author SHA1 Message Date
MK 4beaaa78a5 Update README 2024-12-03 12:09:45 +01:00
MK d86b3359ac update 2024-12-03 12:08:37 +01:00
MK ca20300809 fix führende Null 2024-12-03 10:36:38 +01:00
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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)
--- ---
+1
View File
@@ -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