<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>I have a simple bash script (ws.sh), with the following 2 commands:</div><div><br data-mce-bogus="1"></div><div>#!/bin/bash<br><br>tshark -i enp1s0 -a duration:60 -w /home/raymond/capture.pcapng</div><div><br>wait</div><div><br>/home/raymond/movit.sh</div><div><br data-mce-bogus="1"></div><div>Movit.sh:</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>#!/bin/bash<br>mv capture.pcapng $(date +%F-%H:%M)1.pcapng && touch capture.pcapng<br>echo "All Done!"</div><div><br data-mce-bogus="1"></div><div>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.</div><div><br data-mce-bogus="1"></div><div>Ideas?</div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__">Raymond Norton<br>LCTN<br>952.955.7766</div></div></body></html>