Files
redis-docs/docs/LastsaveCommand.rst
Kenneth Reitz 525e9fd3d3 all into sphinx
2011-04-06 13:27:48 -04:00

23 lines
707 B
ReStructuredText
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
`|Redis Documentation| <index.html>`_
**LastsaveCommand: Contents**
  `LASTSAVE <#LASTSAVE>`_
    `Return value <#Return%20value>`_
LastsaveCommand
===============
#sidebar `ControlCommandsSidebar <ControlCommandsSidebar.html>`_
LASTSAVE
========
Return the UNIX TIME of the last DB save executed with success.A
client may check if a `BGSAVE <BgsaveCommand.html>`_ command
succeeded reading the LASTSAVEvalue, then issuing a
`BGSAVE <BgsaveCommand.html>`_ command and checking at regular
intervalsevery N seconds if LASTSAVE changed.
Return value
------------
`Integer reply <ReplyTypes.html>`_, specifically an UNIX time
stamp.
.. |Redis Documentation| image:: redis.png