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

Allow limiting of Robocopy retries #39

Open
phil-davis opened this issue Mar 23, 2015 · 0 comments
Open

Allow limiting of Robocopy retries #39

phil-davis opened this issue Mar 23, 2015 · 0 comments

Comments

@phil-davis
Copy link
Member

Sometimes VPN links go down for a long time, or there are other error conditions like "Access denied" (to the source and/or destination folders or files) that result in Robocopy trying again and again for a very long time.
When run as a task in Windows Server we are specifying a maximum time to allow the task to run. But if that time expires the process just gets killed and so there is no chance for an email to be sent with log file attached.
If we can limit the robocopy retries and retry interval, then the sys admin can control it so the Robocopy will finish itself if it runs for a long time, then the email will be sent with log file attached and the errors can be seen.
Perhaps actually have a parameter that just takes any Robocopy parameters as a string and passes them straight through to Robocopy. That will mean the sys admin can add any parameters they like to the Robocopy.

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