Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have not really utilized sleep before so I'm not sure if it would work properly.#shut off website... $_sleepTime = (60 * 5); until($dbh->selectrow_array(qq{select `value` from `pagevars` where `n +ame` = "eom_process"}) eq "ready") { sleep($_sleepTime); } # once ready then it will continue the functions until completed then +turn the website back on
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: automating a task
by NetWallah (Canon) on May 31, 2009 at 19:49 UTC | |
by Anonymous Monk on May 31, 2009 at 20:59 UTC | |
by ww (Archbishop) on May 31, 2009 at 21:47 UTC | |
|
Re: automating a task
by CountZero (Bishop) on Jun 01, 2009 at 07:31 UTC | |
by Marshall (Canon) on Jun 01, 2009 at 20:10 UTC | |
|
Re: automating a task
by marcussen (Pilgrim) on Jun 01, 2009 at 07:21 UTC |