in reply to Re: automating a task
in thread automating a task
The DB maintenance program that is gonna run may change things to the extent that any pending changes that you might be aware of won't work right. Anyway get the DB to what you figure is a consistent state.
Rather than you shutting down at a specific time, you could have some I/F so that this maint program requests a shutdown, and when it is done, you reply back that you are shut down. When it is finished, it tells you that you can come back online. You want to come back up ASAP when it is finished. This I/F could be pretty simple with some file flags and perhaps some cell phone message if things stay down for too long.
Anyway the shutdown from your end may take a variable amount of time. And obviously what this other thing does takes a variable amount of time.
|
|---|