c# fuction complete before rerunning

Job ID: 31446119

Budget: $10 – $30 USD

i have 2 c# function in a timer

timer is set to 1 min interval

i need that when the function is complete then it rerun. even is the 1 min pass and the function is not complete it must wait until complete then rerun.