Saves a pickleable object to disk periodically with a specified interval using SQLite.