finished jobs for write sql output directly into csv