Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


ececconetto
2008-11-06T15:57:11Z
Hello
I would like check some word in one file of log
and I try to use the condition type - file in order to find these words in the box "File content" with the option "Contains"

my question is: I can insert more than one word (i.e. separated whit comma or pipe) or do I need to create one condition by word?

Just to better explain my question, I want find if the log file contains "ORA-" "ERROR" and "cannot run"
I can insert these words in only one condition, for sample "ORA-;ERROR;cannot run"
or do I need to create 3 separated conditions? 🤔

Many thanks in advance
Ermano

o:)
Sponsor
Forum information
Support
2008-11-06T16:17:41Z
Hi,

you need to use 3 Conditions in the Condition set to do that currently.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ececconetto
2008-11-06T17:12:45Z
mmm ok
I think that with one FINDSTR command I can generate a single log file with these words,

if this file is empty -> no mail

else mail with this file in attach :d/

ececconetto
2008-11-07T12:37:03Z
Henrik,
another quick question related my prevoius issue:
do I can find if one file is empty from VisualCron?

I have looked in the variables and I haven't found one solution 🤔

Support
2008-11-07T13:20:09Z
No, we have locked for empty content in the validation of the fields. We can unlock that for the next version (probably released in the forum on Monday).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ececconetto
2008-11-07T13:21:57Z
Scroll to Top