open-discussion
open-discussion > Restart job if files_out are missing
Jan 24, 2017 04:01 PM | Joel Parker
Restart job if files_out are missing
Maybe I had the wrong expectation, but I assumed that if I created
a job like this:
Then if 'myfile.txt' was missing, 'job' would be run. But what I actually see is that if I run psom_run_pipeline once, then delete 'myfile.txt', then run psom_run_pipeline again, 'job' is not rerun.
Was my expectation wrong, or is there some other way to trigger this behavior?
pipeline.job.command = 'mycommand';
pipeline.job.files_out = 'myfile.txt';
pipeline.job.files_out = 'myfile.txt';
Then if 'myfile.txt' was missing, 'job' would be run. But what I actually see is that if I run psom_run_pipeline once, then delete 'myfile.txt', then run psom_run_pipeline again, 'job' is not rerun.
Was my expectation wrong, or is there some other way to trigger this behavior?
Threaded View
Title | Author | Date |
---|---|---|
Joel Parker | Jan 24, 2017 | |
Pierre Bellec | Feb 27, 2017 | |
Joel Parker | May 17, 2017 | |