Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. schedule(cron=[object Object]): cannot create schedule

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    schedule(cron=[object Object]): cannot create schedule

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Marko63 last edited by

      Habe heute morgen den Adapter geupdate.
      2021-03-12 14:41:45.318 info iobroker Update javascript from @4.8.4 to @5.0.14

      Seit dem Update kommt im Log der Fehler
      2021-03-12 14:44:58.845 error (576) script.js.Automation.Heizung_Zeitsteuerung: schedule(cron=[object Object]): cannot create schedule

      hier meine schedule funktionen die ich verwende

      schedule({hour: 4, minute: 0, dayOfWeek: [1,2,3,4,5]}, function(){ Set_HK(tar_temp_day,tar_temp_evening='undefined',tar_temp_night='undefined')} );
      schedule({hour: 7, minute: 0, dayOfWeek: [1,2,3,4,5]}, function(){ Set_HK(tar_temp_day='undefined',tar_temp_evening='undefined',tar_temp_night)} );
      schedule({hour: 15, minute: 0, dayOfWeek: [1,2,3,4,5]}, function(){ Set_HK(tar_temp_day,tar_temp_evening='undefined',tar_temp_night='undefined')} );
      schedule({hour: 23, minute: 0, dayOfWeek: [1,2,3,4,5]}, function(){ Set_HK(tar_temp_day='undefined',tar_temp_evening='undefined',tar_temp_night)} );
      schedule({hour: 6, minute: 0, dayOfWeek: [0,6]}, function(){ Set_HK(tar_temp_day,tar_temp_evening='undefined',tar_temp_night='undefined')} );
      schedule({hour: 22, minute: 0, dayOfWeek: [0,6]}, function(){ Set_HK(tar_temp_day='undefined',tar_temp_evening,tar_temp_night='undefined')} );
      schedule({hour: 24, minute: 0, dayOfWeek: [0,6]}, function(){ Set_HK(tar_temp_day='undefined',tar_temp_evening='undefined',tar_temp_night)} );
      
      E 1 Reply Last reply Reply Quote 0
      • E
        ente34 @Marko63 last edited by

        @marko63
        Ich würde mal hour:24 durch hour:0 ersetzen

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        511
        Online

        31.7k
        Users

        79.9k
        Topics

        1.3m
        Posts

        2
        2
        477
        Loading More Posts
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as topic
        Log in to reply
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        The ioBroker Community 2014-2023
        logo