How to run im_exec every 10 seconds

View thread

shinobu

Hi all,

I'm using CE.

Could you tell me how to write nxlog.conf? I want to im_exec every 10Sec. I have no idea about what should I write in schedule.

<Input messages> Module im_exec Command "C:\Windows\System32\cmd.exe" Arg /k Arg dir <Schedule> Every 10 sec <Exec> I want to do messages(im_exec) again! </Exec> </Schedule> </Input>

<Output file> Module om_file File "C:\test_logs\output_test1.txt" </Output>

<Route messages_to_file> Path messages => file </Route>