title: How to echo something every 4 minutes while in an endless loop
body: <p>I have a script that uses <code>while(true)</code> to run so it runs forever until it dies. I want to be able to make it echo something once every 4 minutes, how can i do this? The script runs on command prompt and it uses <code>while(true)</code> so its confusing plus i am not sure how to make it do that every 4 minutes.
   How can i make it echo something once every 4 minutes while still in a <code>while(true)</code>?</p>