10 Commits

Author SHA1 Message Date
76d38622c6
Aktualisiere IP-Adressen in A72_alarm_getter.sh und wecker.sh:
- Ändere die MAC-Adresse in beiden Skripten auf '18🆎1d' für die Funktion check_ip.
2023-12-22 09:09:17 +01:00
b114ce5fdc
Update A72_alarm_getter.sh script
Adjusted the wecker.sh invocation in A72_alarm_getter.sh to redirect output to /root/wecker.log for better logging. Now, when scheduling a new alarm, the script will log the wecker.sh execution details to the log file.

Changes:
- Modified line 87 in A72_alarm_getter.sh to redirect wecker.sh output to /root/wecker.log
  from:
  echo "/root/iobroker_scripts/schlafzimmer/wecker.sh" | at ""
  to:
  echo "/root/iobroker_scripts/schlafzimmer/wecker.sh > /root/wecker.log" | at ""

Author: Michael Haider
Date: 17.12.2023
2023-12-17 21:49:16 +01:00
b881b79bf6
Änderungen am A72_alarm_getter.sh-Skript: Neues Format für Alarmzeit 2023-12-11 16:46:46 +01:00
a0dbcefb1c
Refactor A72_alarm_getter.sh script for improved readability and reliability
- Removed unnecessary variable interpolation in the 'echo' statement.
- Changed the path for 'atq' and 'atrm' commands to use the full path.
- Updated the 'ping' command to use the full path for better compatibility.
- Added comments and improved formatting for better script understanding.
2023-12-07 13:17:18 +01:00
63720dafea
Add execution timestamp and echo in A72_alarm_getter.sh
In this commit, an echo statement is added to display the execution timestamp
in the A72_alarm_getter.sh script. The timestamp is printed with the command
'echo 'Ausgeführt um: ''.

Additionally, the script now contains a function called delete_expired_at_jobs
to check and delete expired 'at' jobs. The current time is obtained using the
'date' command and stored in the variable current_time.
2023-12-05 18:00:34 +01:00
c872f1d93d
Funktion zum erfassen der Weckzeit gefixt 2023-11-25 06:49:05 +01:00
5d21fb28c1
Fehlerbehebung bei ping-test 2023-11-22 12:26:43 +01:00
7d9c3574a4
Mac-Adresse gekürzt für ip-Abfrage 2023-11-21 09:18:11 +01:00
1d27119800
checkt ip von a72 2023-11-21 08:49:34 +01:00
c34f28302e
initial commit 2023-11-16 09:17:08 +01:00