Hi,
Revolution is not multi thread, so I dont know how to make an operation for example every 120 seconds.
Every 120 seconds a script is executed and when finished it waits 120 seconds to be executed again... and during this duration, the application works normally. Have you got a clue? Thanks
Tal
Making an operation every x seconds
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Making an operation every x seconds
Hi Tal,
you can "send" a message every x (milli-)seconds, this is the way to go:
Then call it once whenever you need to start you actions like
Lookup "send" and "pendingmessages" in the docs (Rev dictionary).
Best
Klaus
you can "send" a message every x (milli-)seconds, this is the way to go:
Code: Select all
command doThis
## do this
## do that
## do another important thingie
send "doThis" to me in 120 secs
end dothis
Code: Select all
on openstack
dothis
...
end openstack
Best
Klaus
Re: Making an operation every x seconds
Ok I try it, thank you