how to start stop tomcat with crontab code example Example: how to stop tomcat server in macos $ netstat -an | grep 8080