Skip to content

Allow limiting of Robocopy retries #39

@phil-davis

Description

@phil-davis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions