autosave

set frequency of saving commands

Set or disable autosave, which saves the XSPEC environment to a file periodically.

Syntax: autosave <option>

where <option> is either off or a non-zero positive integer N. If the option is off, then auto-saving is disabled. If the option is N, the XSPEC environment is saved every N commands. The saving of the environment is equivalent to the command

XSPEC12>save all xautosav.xcm .,

i.e. both the file and model information is saved to the file xautosav.xcm, placed in the directory /.xspec/cache. Thus in case of an unexpected crash, the state of XSPEC before the crash can be restored by running @xautosav.xcm. The default value for the auto-save option is 1.



HEASARC Home | Observatories | Archive | Calibration | Software | Tools | Students/Teachers/Public

Last modified: Friday, 23-Aug-2024 13:20:40 EDT

HEASARC Staff Scientist Position - Applications are now being accepted for a Staff Scientist with significant experience and interest in the technical aspects of astrophysics research, to work in the High Energy Astrophysics Science Archive Research Center (HEASARC) at NASA Goddard Space Flight Center (GSFC) in Greenbelt, MD. Refer to the AAS Job register for full details.