If using stop_iq in a cron or at job, use the appropriate -stop option:
Option |
Description |
---|---|
-stop one |
Shuts down a single server, when exactly one running server was started by the user ID that starts the cron or at job. This prevents the wrong server from being shut down if several are running. |
-stop all |
Shuts down all servers that were started by the user ID that starts the server. |
stop_iq -stop one
stop_iq -stop all