There is already a scheduling thread that can do this. Use RealVoltDB.scheduleWork