On 2015-02-03 04:16:04, Ted Unangst <[email protected]> wrote:
> This is the kind of thing I usually put in a small script, and add to root's
> crontab. I don't think you need the nohup and sudo, that's probably just
> complicating things. e.g.
>
> #!/bin/sh
> tcpdump -n | logger 2> error.log &
>
> then
> @reboot /root/tcpdump.sh

Works for me!

Sebastien

Reply via email to