Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: automating a task

by marcussen (Pilgrim)
on Jun 01, 2009 at 07:21 UTC ( #767180=note: print w/ replies, xml ) Need Help??


in reply to automating a task

Crontab is the obvious choice.
I'm a little curious why you need to shut down the site database at all. If you use dates with your orders you should be able to limit the orders by date, thus any order placed after your "magic" time limit, is excluded from the selection...

If you absolutely must stop entries into the database, then perhaps you should simply hotswap to standby database and still avoid the downtime. I don't have an in depth understanding of your model, but I suspect there is room for improvement.

Confucius says kill mosquito unless cannon


Comment on Re: automating a task

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://767180]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-12-22 01:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls