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

Inject - cleanup messing with crontab... just don't do it.

This commit is contained in:
Dave C-J 2014-02-04 22:31:51 +00:00
parent 40232f95ed
commit f3f52fa586

View File

@ -32,9 +32,6 @@ function InjectNode(n) {
var node = this;
this.interval_id = null;
this.cronjob = null;
if (this.crontab) {
if (this.crontab.split(" ")[4] != "*") { this.once = false; }
}
if (this.repeat && !isNaN(this.repeat) && this.repeat > 0) {
this.repeat = this.repeat * 1000;