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:
parent
40232f95ed
commit
f3f52fa586
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user