<div dir="ltr">I'll bite.<div><br></div><div>I notice you use capture.pcapng in Moveit.sh.  How about fully qualifying the path with /home/raymond/capture.pcapng?</div><div><br></div><div>Are you getting an error message from the failure?  If so what is that error?</div><div><br></div><div><br><br>On Wed, Oct 23, 2019 at 12:48 PM <<a href="mailto:admin@lctn.org">admin@lctn.org</a>> wrote:<br>><br>> I have a simple bash script (ws.sh), with the following 2 commands:<br>><br>> #!/bin/bash<br>><br>> tshark -i enp1s0 -a duration:60 -w /home/raymond/capture.pcapng<br>><br>> wait<br>><br>> /home/raymond/movit.sh<br>><br>> Movit.sh:<br>><br>><br>> #!/bin/bash<br>> mv capture.pcapng $(date +%F-%H:%M)1.pcapng && touch capture.pcapng<br>> echo "All Done!"<br>><br>> The first command always works properly but the second does not run via cron. However, running the script (ws,sh) via the command line executes properly. I have tried  sleep and wait between commands but nothing works, so far.<br>><br>> Ideas?<br>><br>><br>><br>> Raymond Norton<br>> LCTN<br>> 952.955.7766<br>> _______________________________________________<br>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>> <a href="mailto:tclug-list@mn-linux.org">tclug-list@mn-linux.org</a><br>> <a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a></div></div>