Reset Threshold

Hey guys,

is there a way to reset a threshold? For example: I have my bot set to log off every 290min ( to avoid the 5h ban at iSRO). At 4pm (my timezone) the 5h bar resets. And now to my Question: Is there a way to let the Bot reset the threshold timer? So even if the bot is running for 200min, at 4 pm he resets the timer and starts counting again for 290min.
I hope someone can help me:)