You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: