Would this thread loop continously

would this thread loop continously or i have to put a while condition
to force it to loop.

notifierThread=Thread.new do
ibScan= load ‘ScansNotifier.rb’
puts " ScansNotifier started "
sleep(60)
notifierThread.join
end

Junkone wrote:

would this thread loop continously or i have to put a while condition
to force it to loop.

notifierThread=Thread.new do
ibScan= load ‘ScansNotifier.rb’
puts " ScansNotifier started "
sleep(60)
notifierThread.join
end

You do need an explicit loop. It’s an easy one to forget, even after
years… :slight_smile: