store job info to sqlite