At least this is what I am assuming from your question.while(condition){ ## code here if(exit condition){ ## code here }else{ sleep(300); } }
In reply to Re: A script that does an action every 5 minutes
by TStanley
in thread A script that does an action every 5 minutes
by Jemts
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |