1.

Suppose Your Script Is Running Each Time You Use The State.apply. What Would You Do?

Answer»

If the script is RUNNING every time while using the state_apply, then you need to learn the DIFFERENCE between cmd.wait and cmd.RUN. The AFOREMENTIONED problem only occurs when you use the cmd.run instead of implementing the cmd.wait. [Quick Note: The cmd.run will run properly only when a change occurs in the watching state. On the contrary, the cmd.run will run the corresponding command each and every time.

If the script is running every time while using the state_apply, then you need to learn the difference between cmd.wait and cmd.run. The aforementioned problem only occurs when you use the cmd.run instead of implementing the cmd.wait. [Quick Note: The cmd.run will run properly only when a change occurs in the watching state. On the contrary, the cmd.run will run the corresponding command each and every time.



Discussion

No Comment Found