I would like to run the code every 1 minute, 15 minutes, etc. Is there a better way than after entering a timer with a time interval of 1 second. C # solution is ok too.
If Now.Minute Mod 15 = 0 Then
'run code for 15 min
End If
If Now.Minute Mod 1 = 0 Then
'run code for 1 min
End If
user239968
source
share