I need to run and rerun a task repeatedly until I manually stop it. Is this possible? Maybe I can have the task call itself?
Thanks for your help.
Run Task Repeatedly Until Manually Stopped
Re: Run Task Repeatedly Until Manually Stopped
You can't call itself from the task. Each task can be started only once.
But there is While Loop. You easily can make infinite loop.
Like this:
Another way (recommended):
You can attach Cyclic trigger to the task. You can set 1 or 2 seconds period.
But there is While Loop. You easily can make infinite loop.
Like this:
Code: Select all
while true
....
put you steps here
....
end loop
You can attach Cyclic trigger to the task. You can set 1 or 2 seconds period.
Oleg Yershov
Re: Run Task Repeatedly Until Manually Stopped
Thanks Oleg, the Cyclic trigger would be perfect, except that I never know how long this task needs to complete.
I'll try the loop.
Thanks!
I'll try the loop.
Thanks!
Re: Run Task Repeatedly Until Manually Stopped
This is not a problem. The task will be running only once. Cyclic trigger will start the task only when it will be possible.DEE wrote:... except that I never know how long this task needs to complete.
Oleg Yershov
Re: Run Task Repeatedly Until Manually Stopped
Works great, thanks for the quick reply!