news
About Elegant Chaos
info
About me and my friends
people
Software from Elegant Chaos
software
Other stuff...
stuff

BL_CheckForBackup

Revision
Revised on

Description


Code

on BL_CheckForBackup
  -- check whether it is time for a backup
  
  global BL_NextBackup, BL_DoBackups, BL_DoCompact
  
  if BL_DoBackups then
    get the seconds
    if it > BL_NextBackup then
      BL_AttemptBackup
      if BL_DoCompact then
        BL_CheckForCompact
      end if
    end if
  end if
  
end BL_CheckForBackup