|
|
Joined: Dec 2004
Posts: 11
Member
|
Member
Joined: Dec 2004
Posts: 11 |
Does anyone know the unix command for killing a print job(ftp)? I have a report hung up and it is prevernting my historical data from showing the right call volumes.
If it doesn't ring, I can't help you
|
|
|
|
Joined: Sep 2003
Posts: 568
Member
|
Member
Joined: Sep 2003
Posts: 568 |
If it is System V unix then the command is: cancel job-id where job-id is the job number returned when you initially submitted the print request.
If it is a BSD flavor of unix the command is: lprm job-id
You put ftp in parenthesis - printing does not utilize ftp. Do you have a shell script that sends a file via ftp to another site and then issues a remote command to print the file?
Our most valuable products are our knowledge, experience and time.
|
|
|
|
Joined: Dec 2004
Posts: 11
Member
|
Member
Joined: Dec 2004
Posts: 11 |
I found it thatnks it was Kill -9 (job Number)
Thanks for the reply though
If it doesn't ring, I can't help you
|
|
|
|
Joined: Sep 2003
Posts: 568
Member
|
Member
Joined: Sep 2003
Posts: 568 |
That will definitely get rid of the job, but that is NOT the way it should be done. The kill command will not allow the program to terminate gracefully and may leave ".lck" files lying around.
Our most valuable products are our knowledge, experience and time.
|
|
|
Forums84
Topics94,515
Posts639,958
Members49,847
|
Most Online5,661 May 23rd, 2018
|
|
1 members (Toner),
175
guests, and
46
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|