Skip to content

Uint issue #14

@Greyspirit128

Description

@Greyspirit128

The Symantec System Recovery poll script sometimes fails. copied the script from NCentral and put it on the server and ran it manually. Looking closer I found that the line 91

$lastBackupMinsAgo = (($lastBackupDate - $timenow).Totalminutes) * -1

sometimes returns a negative number causing a UINT callout. Seems to be mostly when run right after backup completes. Sometimes for unknown reason, even after 24 hours it still does it. Might be sometime with the time of day but I didn't have time to localize it further. I propose a change to cause it to always be a positive number.

$lastBackupMinsAgo = [Math]::ABS( (($lastBackupDate - $timenow).Totalminutes) )

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