save timestamp file periodically