파일을 출력하는 delayed_job 작업이 있습니다. 나중에 쉽게 참조 할 수 있도록 파일을 만든 작업의 ID로 접두사를 붙일 수 있어야합니다.작업 작업 내에서 delayed_job 작업 ID를 참조하십시오.
# Create a file that has the job id in the name...
job_id = thing.delay.create_file
# Now we'll use the job_id to search for the file...
이게 가능합니까?
create_file 태스크에 코드를 포함하십시오. – eabraham
@ eabraham- 왜? – Yarin
DJ가 작업을 완료하면 DJ가 항목을 삭제하므로 작업 ID는 어떤 용도로 사용됩니까? –