Stopping Servers in a cron or at Job

If using stop_iq in a cron or at job, use the appropriate -stop option:

stop_iq -stop Options

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.

For example:
stop_iq -stop one
stop_iq -stop all
Note: In a cron statement, you must specify the complete path name to the stop_iq executable.