- This topic has 0 Antworten, 1 Stimme, and was last updated vor 6 years, 8 months by .
1 Beitrag anzeigen (von insgesamt 1)
1 Beitrag anzeigen (von insgesamt 1)
- Du musst angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.
Willkommen › Foren › LogoControl › .sh Script um bestimmte Uhrzeit ausführen
Verschlagwortet: Shell Script - Uhrzeit - Abrage
Hallo zusammen,
ich hätte eine Frage zu den Shell Scripts.
Und zwar würde ich gerne immer um eine bestimmte Uhrzeit z.B. 18.00 Uhr eine Abfrage Starten.
Sollte dann so aussehen.
Um 18.00 Uhr wenn Garagen Tor geöffnet.
Zustand wird hier abgefragt:
<group name=“Garagentor“>
<device id=“31″ name=“Garagentor“ type=“auf_zu“>
<attribute id=“1″ name=“Status“ plc=“Logo84″ address=“M1″ valueTextConverter=“auf_zu“ />
<method id=“1″ name=“Öfnen“ plc=“Logo84″ address=“156.2″ />
</device>
Soll ein Shell Script ausgeführt werden welches mich benachrichtigt, dass das Garagentor noch geöffnet ist.
Wenn es geschlossen ist soll nichts passieren.
Ich habe es bereits hin bekommen mich über die Zustandsänderung benachrichtigen zu lassen über Pushbullet. Wie in der Anleitung beschrieben.
Aber leider fehlen mir die Kenntnisse das über die Uhrzeit hin zu bekommen.
Könnte mir hier jemand weiterhelfen? Wäre sehr dankbar!
Gruß
Benny
| Cookie | Dauer | Beschreibung |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |