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

How to check if dtar succesfully finished? #577

Open
yr-wang-hit opened this issue Jul 25, 2024 · 0 comments
Open

How to check if dtar succesfully finished? #577

yr-wang-hit opened this issue Jul 25, 2024 · 0 comments

Comments

@yr-wang-hit
Copy link

We have a data management pipeline to first tar the data and then archive it.
I need to check that the data is correct (not corrupted during tar process) before
archive. And All the data management pipeline is executed through script (
submit dtar job to slurm(pbs) and archive). I need some way to automatically
detect if dtar has success.

The doc says:

One cannot easily check the return codes of tools. Instead, inspect stdout and stderr output for errors.

maybe I need to use regular expression to match the ouput of dtar?(maybe slurm.out or something)?
Thanks

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

1 participant