I\'m developing an application that runs every day in a particular time, I used while loop inside when inside while loop condition is false CPU take much time and resour