-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anyway to have this code run only once? #47
Comments
Hi Stuart, If you use the provided example, which has
at the end of the file, you could just set self.dwx.ACTIVE = false at the point you want to exit. |
thanks Elvinex, I don't use the base code as a live type interaction method. I use it as a run once only. So I added sys.exit() after the sleep 180. instead, should i keep the sleep(1) and... thanks for your help |
Lol, if 180s is not enough, it must be a quite a number of tasks. Normally, I would place the Or if you don't care about the feedback that everything was actually done, I would put the |
thanks elvinex, I will have a play with this and update the thread before closing. thanks |
Hi guys,
is there a way to adjust the base python code to run only once.. rather than the continual and constant live update?
right now I am running the code, and leaving open for 3 minutes before a "close" exit function.
id like to be able to run... and then it just finishes once all the tasks are complete if possible.
thanks
Stuart
The text was updated successfully, but these errors were encountered: