Hi,
I want to be able to log in a text file every page that are sent to users.
I got to be able to do it for my manager.
Is there an action that can do that ?
Or any way that i can do it ?
Thanks
Ben
action script
Log in text file? I think you can use simple script (BAT file) and "Execute external program" action to start that script.
E.g. "testlog.BAT" file may look like:
Command line to start script may look like: c:\program files\hostmon\testlog.bat pager_id "%TestName% %Status% %CommentLine1%
On the other hand if you need to log just information that page was sent or not, you may use system log. You can change settings of the log on Advanced Logging page in the Options dialog.
Regards
Alex
E.g. "testlog.BAT" file may look like:
Code: Select all
echo >>mylogfile "========================"
echo >>mylogfile "page to %1"
echo >>mylogfile "message %2"
echo >>mylogfile "========================"
On the other hand if you need to log just information that page was sent or not, you may use system log. You can change settings of the log on Advanced Logging page in the Options dialog.
Regards
Alex