This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

stop one script
#1
Hello:


I have several scripts with relationship in a certain values.

So, I wanted to stop the execution of one of them if a certain script begin to run. The first one has a delay of 10 minutes and at last of this time it executes a sentence.

For example, I press a button to turn off a light but this going after 10 minutes. Problem If  during this 10 minutes I turn on the same light - the lighit has just turning off by the firs scritp. I've tried doing enable / disable but it seems that when it is already running is not possible to stop it.

The example is simple but it is not the purpose of my program.

Thank you.
Reply
#2
Have a look at this example, it has a better solution to timer task:
http://forum.logicmachine.net/showthread...864#pid864
Reply


Forum Jump: