i want craete waite time in my script in other mean i have for script but i want it is waite for run command 5 minutes
for ($i = 1; $i <= 10; $i++) { 5 minuts waiting; command; }
how i can create 5 minutes waite time?
Try [man]sleep/man.
Just as a side note, I came to wonder if sleep() delays script timeout or not. If I make my script sleep for 31 seconds, and the timeout is set to 30 (default), will it time out and die before the sleep is over or not?