Products | Versions |
---|---|
TIBCO Hawk | - |
Not Applicable | - |
Resolution:
For example, you want to monitor log file with <yymmdd> in the name.
Run "date /t" in command window, you might get different result with different localization setting.
1. If "mm/dd/yyyy", use `cmd /c "echo %date:~8,2%%date:~0,2%%date:~3,2%"`.
2. If "dd/mm/yyyy", use `cmd /c "echo %date:~8,2%%date:~3,2%%date:~0,2%"`.
Change the command according to the result as above.
*** sample rulebase attached.