An infinite loop with 5 minutes timer

Hi there,

Question: I made a infinite loop and in this loop I would like to write a Datatable to a csv-file every 5 minutes. So I made an if-activity with condition: DateTime.now.Minute Mod 5 = 0. (after that the robot checks if the file already has been saved, that works just fine). I made a Write line to check of the file is saved. However every hour it stops saving after 55 minutes. I can’t solve this with a delay because I really want to save this file at for ex. 14:05:00; 14:10:00; 14:15:00 etc.
Anyone any idea how to solve this?
Thanks in advance!

Already solved!

@Bureau_G

Great! Can you please share how you solved it for the benefit of future users who have a similar situation?

Thanks!

Please share solution to help others

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.