Wireshark-users: Re: [Wireshark-users] Starting tshark from Windows scheduler

From: Alexandre Aeschbach <lex@xxxxxxxxxxx>
Date: Mon, 22 Oct 2007 09:55:12 +0200
Hi Ludo

You could use TraceCommander. It's a freeware scheduler for wireshark. Unfortunately it's in German.

http://www.tracecommander.net/

Greets
Alex

Ludovit Boda schrieb:
Hallo,
I want to start tshark from Windows XP scheduler every day at defined time with 1 hour duration. Every captured file has a time stamp in its name. I wrote batch file tshark.bat > /if exist "C:\Progra~1\Wireshark\tshark.exe" ( set subor=C:\Temp\WIRESHARK\LX_%DATE:~11,4%-%DATE:~7,2%-%DATE:~3,2%_%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%.cap
:: echo Starting tshark into file %subor%
C:\Progra~1\Wireshark\tshark.exe -i\Device\NPF_{F0E24F86-72AA-474B-A40A-17191A47E013} -aduration:3600 -f"host 10.0.10.77" -w"%subor%"
) else (
    echo Wireshark is not installed !!
)/
Batch file starts tshark.exe, when I run it manually from command line
But it doesn't work when I start it from sheduler.
Have you ever had problem like this? Please advise. I didn't try it with some shell and Linux cron, because need it under Windows unfortunately ... ;o( Thanks a lot for help,
Ludo
------------------------------------------------------------------------

_______________________________________________
Wireshark-users mailing list
Wireshark-users@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-users