variating an ouput over time

What do you want to happen when the end of the 5-to-25-minute time interval is over?

nothing just want it to variate an output over a period of time when a switch go's high