Oct 28, 2005 #1 malpa Technical User Feb 8, 2004 122 CO Hi, 1.I want that my program stops for 2 hours after that it continues. BEGIN{ ......... } { "date" | getline date split(date,a," ") split(a[4],h,":") if (h[1]== 23}{"sleep 2hours"} ......... } 2. Is there another way to do this?? Thanks malpa.
Hi, 1.I want that my program stops for 2 hours after that it continues. BEGIN{ ......... } { "date" | getline date split(date,a," ") split(a[4],h,":") if (h[1]== 23}{"sleep 2hours"} ......... } 2. Is there another way to do this?? Thanks malpa.
Oct 28, 2005 #2 PHV MIS Nov 8, 2002 53,708 FR Something like this ? system("sleep 7200") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
Something like this ? system("sleep 7200") Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Oct 28, 2005 Thread starter #3 malpa Technical User Feb 8, 2004 122 CO Hi, Thanks it works fine! malpa Upvote 0 Downvote