goshawk has asked for the wisdom of the Perl Monks concerning the following question:
I want to run a script that takes at least a week to run, on a computer that is used for other purposes during the day. Is it possible to pause the script at a given hour, say 6 AM, temporarily write everything in memory to a file until another given hour, say 9 PM, and then resume?
I would try to write the script so that it could be broken into parts, but it's a single line leading to a black-box C interface that takes so many days. It's okay if this isn't possible; it would just be easier if it would be.
Not sure if it matters, but this is on a Unix system.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scheduling script with pauses
by BrowserUk (Patriarch) on Oct 10, 2013 at 02:52 UTC | |
|
Re: Scheduling script with pauses
by dmitri (Priest) on Oct 10, 2013 at 03:49 UTC | |
|
Re: Scheduling script with pauses ( suspend-to-disk )
by Anonymous Monk on Oct 10, 2013 at 01:55 UTC |