What i\'m trying to create is a background worker that executes a few processes every 30seconds. But I want this while loop to execute for as long as the program is launched.
Are you looking for
while(true)