Removed useless ztask_job
Using asprintf for string format