Each time, when I manually run tcpdump, I have to use Ctrl+C to stop it. Now I want to schedule my tcpdump with cronjob and I onl
tcpdump
you could use timeout
timeout 5400 tcpdump -i eth0 'port 8080' -w myfile