File Age Monitor (Wildcard)

File Age Monitor (Wildcard)

This allows you to check the age of a specific file type and define how many minutes old a file can be.

There are three variables that can be defines in the 'Script Argument'

  • Path: This is the full path to the file or folder.
    • Examples of file path:
      • C:\temp\*.txt
      • D:\application\*.xml
  • Time: in minutes. Default minute parameter is set to 60 in the SAM template.
  • Recursive: If pointed to a folder setting this to $true will also check all sub-directories.

pastedImage_0.png

Thanks for the help with correcting the file count vinx​ ​dpillar@summit.com

Parents
  • So the script should use the Orion Agent when executing the script. That agent runs under the 'LOCAL SYSTEM' account. Perhaps try changing that service to run-as something else or update the application directory permissions to allow local system and see what you get.

    If the Orion Agent is not installed on that remote node, then the script only executes locally on the Orion Server. You want to switch polling method to agent and test again.

Comment
  • So the script should use the Orion Agent when executing the script. That agent runs under the 'LOCAL SYSTEM' account. Perhaps try changing that service to run-as something else or update the application directory permissions to allow local system and see what you get.

    If the Orion Agent is not installed on that remote node, then the script only executes locally on the Orion Server. You want to switch polling method to agent and test again.

Children
No Data