In <news:[email protected]>, Michael Lueck <[email protected]> wrote:
> A Williams wrote: > > Michael Lueck wrote: > > > >> One remaining question... is there some command line way to > >> instruct SM to gracefully exit if possible (no unsaved emails > >> open, etc...)? I would require that if I am to automate a daily > >> local backup. > > > > That sounds very risky. Why not test for the existence of the SM > > lock-file? There has to be a better solution. > > I leave SM up "all the time". To do nightly automated backups, I > would have to send SM a message to exit, do the backup, the restart > it. > > I would check for the mentioned lock-file, and if that still exists, > skip the backup and log the error. > > Seems pretty straight forward to me. Unfortunately, the answer to your question is "no"; see <https://bugzilla.mozilla.org/show_bug.cgi?id=134909>. Depending on what window manager you use, there may be a way to tell the wm to close SeaMonkey's windows, which might effect a graceful exit. See <http://kde-apps.org/content/show.php/WMIface?content=40425> and <http://tomas.styblo.name/wmctrl/>, but there's probably Ubuntu-specific info somewhere about controlling windows with scripts. _______________________________________________ support-seamonkey mailing list [email protected] https://lists.mozilla.org/listinfo/support-seamonkey

