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.