Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious error in job counts #403

Open
baxpr opened this issue Aug 19, 2022 · 0 comments
Open

Spurious error in job counts #403

baxpr opened this issue Aug 19, 2022 · 0 comments
Assignees

Comments

@baxpr
Copy link
Member

baxpr commented Aug 19, 2022

SLURM_COUNT_PENDINGUPLOADS = 'ls -d ${resdir}/*-x-* |wc -l'

When there are no jobs waiting to upload, shell gives us this on stderr:

ls: cannot access /nobackup/vuiis_archive_singularity/Spider_Upload_Dir/*-x-*: No such file or directory

Is there some way we can count the pending uploads that's less hacky? @bud42

@baxpr baxpr assigned bud42 and baxpr Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants