diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-04-15 11:37:56 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-04-15 11:37:56 -0500 |
commit | 1b66f2744b8ebe41ef81ffe8664ea5b37f42c847 (patch) | |
tree | 6044646bfdb235ce469c6f5029ced07dbd5b87c7 /src/dc.c | |
parent | 3be1c94dfdaba60899343080d8b91fb2c602e549 (diff) | |
download | sddm-1b66f2744b8ebe41ef81ffe8664ea5b37f42c847.tar.gz sddm-1b66f2744b8ebe41ef81ffe8664ea5b37f42c847.tar.bz2 sddm-1b66f2744b8ebe41ef81ffe8664ea5b37f42c847.zip |
add ability to retry jobs in submit-grid-jobs
This commit updates submit-grid-jobs to look for jobs in the RETRY state and to
retry them if the number of retries is less than --max-retries. This way if you
ever want to retry a bunch of jobs you can update the database:
$ sqlite3 ~/state.db
sqlite> update state set state = 'RETRY' where state == 'FAILED';
And then rerun submit-grid-jobs with more retries:
$ submit-grid-jobs --max-retries 10 ---auto
Diffstat (limited to 'src/dc.c')
0 files changed, 0 insertions, 0 deletions