SP-SHUTDOWN


This command shuts down all the jBASE printr demons. To use this command you have to have Administrator privileges on Windows or root privileges on Unix.

After typing the command you will either get:

All spooler Daemons are already shut down

Which means that there are no jspprint daemons running to shut down.

Or you will get a list of queues with their PID numbers shown and you will be asked if you want to shut them down e.g.

295 - NETWORK1
212 - LETTER1
261 - LABEL1

Do you wish to stop the above daemons? (y/N):_

If you hit return or type N you will get the following message and the program will exit:

*** Aborted ***

If you type Y then the program will try to tidy shut the processes down and then will sleep for 30 seconds to allow the daemons to shut themselves down e.g.:

Do you wish to stop the above daemons? (y/N): Y

Waiting for 30 Seconds to allow Daemons to shut down._

If this was successful then you will get the following message and the program will exit:

Waiting for 30 Seconds to allow Daemons to shut down.

All spooler Daemons have now shut down.

If this process was not successful then the remaining daemons will be displayed and you will be asked if you want to kill the daemons e.g.:

Waiting for 30 Seconds to allow Daemons to shut down.

261 - LABEL1

The above daemons have not shut down.

Do you wish to kill them ? (y/N):_

If you hit return or type N then you will get the following message and the program will exit.

*** Aborted ***

If you type Y then the program will try to kill the processes. The program will tell you whether the kill was successful:

The above daemons have not shut down.

Do you wish to kill them ? (y/N): Y

Printers have been successfully shut down

Or Unsuccessful, If it is unsuccessful then you will get some type of error message followed by:

Kill was not successful errors occurred during shutdown

When the kill fails the error message it gives before the above should be reported to your support company so it can be investigated further.


Spooler