write out unfinished job ids