CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
power failure

 



dk
Novice

Aug 10, 2006, 3:51 AM

Post #1 of 5 (1642 views)
power failure Can't Post

i am working on a upgradeable script.
but i am not able to understand that how will i take care of power failure ..


KevinR
Veteran


Aug 10, 2006, 9:24 AM

Post #2 of 5 (1639 views)
Re: [dk] power failure [In reply to] Can't Post

hmmm.... maybe daveorg will understand this question. Crazy
-------------------------------------------------


dk
Novice

Aug 10, 2006, 10:48 PM

Post #3 of 5 (1635 views)
Re: [KevinR] power failure [In reply to] Can't Post


In Reply To
hmmm.... maybe daveorg will understand this question. Crazy




I think question is very simple.
suppose you are doing some movibg command from perl code and suddenly power goes off. then my half scripts has complete .how will i take care of this thing .


davorg
Thaumaturge / Moderator

Aug 11, 2006, 6:38 AM

Post #4 of 5 (1631 views)
Re: [dk] power failure [In reply to] Can't Post


In Reply To
I think question is very simple.


Maybe it is. But in your first post you didn't explain it very well.


In Reply To
suppose you are doing some movibg command from perl code and suddenly power goes off. then my half scripts has complete .how will i take care of this thing .


Your program needs to make a note of the work that it has done and when it restarts it needs to check what has already been done and skip that bit.

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks


d1zz13
User

Aug 11, 2006, 6:38 AM

Post #5 of 5 (1631 views)
Re: [dk] power failure [In reply to] Can't Post


In Reply To

In Reply To
hmmm.... maybe daveorg will understand this question. Crazy


I think question is very simple.
suppose you are doing some movibg command from perl code and suddenly power goes off. then my half scripts has complete .how will i take care of this thing .


My advice is totally unrelated to Perl, if it's that important, get yourself a UPS!

Surely that's common sense?

Regards
Rich

If it aint broke then don't try to fix it

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives