There are two possibilities:
Easy way (but with limitations)
I see a delay of 200 (ms)… So if you want to have it working for a minute, than use 60,000.
If 60,000 is not accepted (maybe the input argument is a signed integer, having a max value of 32,767), than use a for loop and do a delay of a second for 60 times.
This solution will make it not ...
The TIP120 is a poor choice because of the approximate 10% - 14% voltage drop across it. Try the circuit with a logic level, low Rds MOSFET.
For a more in-depth answer, please see this answer: https://electronics.stackexchange.com/a/388468/165322