Is there a way to periodically save the session (to a prescribed file) non-interactively? In particular, I'd like to save all the working directories of my tabs to be able to restore them in case of a unholy event occurs (e.g. the system does not resume properly from sleep).