Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. JavaScript
  5. "schedule" bei stoppen des Scripts ?

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    891

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

"schedule" bei stoppen des Scripts ?

Scheduled Pinned Locked Moved JavaScript
3 Posts 2 Posters 262 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zamanis
    wrote on last edited by
    #1

    Hallo liebe Community,

    was passiert nach dem stoppen eines Scripts, in dem ich "schedule" verwende ?
    Wir der schedule task deaktiviert oder läuft der im Hintergrund weiter ?
    Wenn ja --> wie verhindere ich das ?
    Im Voraus schon mal vielen Dank für die Antwort !

    Viele Grüße

    AsgothianA 1 Reply Last reply
    0
    • Z Zamanis

      Hallo liebe Community,

      was passiert nach dem stoppen eines Scripts, in dem ich "schedule" verwende ?
      Wir der schedule task deaktiviert oder läuft der im Hintergrund weiter ?
      Wenn ja --> wie verhindere ich das ?
      Im Voraus schon mal vielen Dank für die Antwort !

      Viele Grüße

      AsgothianA Offline
      AsgothianA Offline
      Asgothian
      Developer
      wrote on last edited by
      #2

      @Zamanis
      Soweit mir das bekannt ist werden beim Stoppen eines Skriptes alle Aktivitäten dieses Skriptes beendet. Das betrifft:

      • Subscriptions ( on ("id", aktion())
      • Timeouts (setTimeout () )
      • Intervalle (setInterval() )
      • Schedules

      Verhindern kannst du das meines Wissens nicht.

      Sofern es bei dem Schedule darum geht etwas ausserhalb des ioBroker anzustossen welches immer laufen soll würde ich dafür einen cron Job anlegen (oder die dem Betriebssystem entsprechende Variante)

      A.

      ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
      "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zamanis
        wrote on last edited by
        #3

        ok Danke für die schnelle Antwort ! :relaxed:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        770

        Online

        32.6k

        Users

        82.1k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe