1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Inject node calculating hour interval period incorrectly

Fixes #455
This commit is contained in:
Nick O'Leary 2014-10-27 19:35:15 +00:00
parent 04673c65f4
commit a5228875a6

View File

@ -355,7 +355,7 @@
repeat = count * 60; repeat = count * 60;
} else if (units == "h") { } else if (units == "h") {
//crontab = "0 */"+count+" * * "+days; //crontab = "0 */"+count+" * * "+days;
repeat = count * 60 * 24; repeat = count * 60 * 60;
} }
} }
} else if (type == "interval-time") { } else if (type == "interval-time") {