0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Node-Redのinjectノードにおける繰り返し機能のタイムゾーンについて

0
Posted at

はじめに

Node-Redのinjectノードにおける繰り返し機能のタイムゾーンについてのメモです。
他の環境で再現するかどうかはわかりません。

環境

Node-REDの実行環境はenebularをつかっています。

直面した問題と解決方法

Node-Redのinjectノードにおける繰り返し機能を使おうと、日本標準時(JST)で指定したのですが設定した時間に動きませんでした。そこで、日時指定を協定世界時(UTC)で指定しところ、狙った時間にinjectノードが発火し動きました。
image.png

デバッグ画面で表示される時刻がJSTだったので、injectノードもJSTで指定するのだろう、と思っていましたが、なぜかUTCでした。

image.png

おわりに

動作させる環境で異なるかもしれません。
injectノードの繰り返し機能が上手く動かない、といった場合、UTCで設定すると上手くいくかもしれません。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?