AWS Batch: Spot Instance - How does Nextflow log an interruption?

Please do not ask new questions in other questions. I posted your reply as a new question authored by you here. I will close this topic now.