How to use os.time () to know current time in script?
<p>Basically, How can I use <code>os.time()</code> and <code>os.difftime()</code> or possibly <code>os.clock()</code> to find out my current time that it has been running at a certain part of the script.</p>

<p>So at 10 minutes I am trying to run a command and at 20 mins I am trying to run another command all the way up to 40 mins in 10 min intervals and then I'm trying to reset back to 0 and restart.</p>

<p>Any ideas?</p>