This is our old Q&A Site. Please post any new questions and answers at

I have a device that resets every night at 8:05. I would like to setup wireshark to start capturing at 8:03 every night and capture for 3 minutes. I have found where to stop the capture but am looking for where to set the option to start capturing at a certain real time? Thanks for your help

asked 22 Feb '11, 14:26

theiman's gravatar image

accept rate: 0%

i also want to how to contral the start time of cature packets!

(13 Oct '12, 22:00) boyxiaolong

You will need to schedule it with task scheduler or cron.

permanent link

answered 22 Feb '11, 17:18

Paul%20Stewart's gravatar image

Paul Stewart
accept rate: 6%

and then invoke a little script that starts wireshark for you, like so:

ECHO Starting up tshark with capture options

path=C:\Program Files\Wireshark
mkdir D:\NoBackup\WIRESHARK\
set subor=D:\NoBackup\WIRESHARK\%COMPUTERNAME%_%DATE:/=%_%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%.pcap
C:\Progra~1\Wireshark\tshark.exe -i 1 -a filesize:250000 -w "%subor%"

see if that works for you..

permanent link

answered 14 Oct '12, 09:40

Marc's gravatar image

accept rate: 27%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 22 Feb '11, 14:26

question was seen: 9,078 times

last updated: 14 Oct '12, 09:40

p​o​w​e​r​e​d by O​S​Q​A