Sponsored Content
Top Forums Shell Programming and Scripting How to delete the submitted at command Post 302370088 by rxg on Tuesday 10th of November 2009 10:43:39 AM
Old 11-10-2009
Question How to delete the submitted at command

Hi

I have submitted an at command to run next week .
Now i want to remove the submitted at command .
I dont want the job to run .

Can anyone help me , with the command to remove the submitted at command .


thanks in advance ...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to kill process while keeping the submitted job running

:confused: I have a process which was schedule to run from 8am - 6pm daily. The scripts will search & run the commands that i was predefined in the database. Ususally, there were about 6-7 jobs for each submission and each job takes about 1-2 hrs and running one by one. And, I have a cron job... (3 Replies)
Discussion started by: hk_newbie
3 Replies

2. UNIX for Advanced & Expert Users

Multiple FTP scripts submitted to a subprocess

Why does running 5 FTP scripts sequentially take longer to run (16 seconds) than when all 5 are submitted to a subprocess and run simultaneously (7 seconds)? I would think there would be some I/O contention. There are about 10 files to be FTP'd in each script. Although each script... (0 Replies)
Discussion started by: tomstone_98
0 Replies

3. UNIX for Dummies Questions & Answers

regarding delete command in unix

Hai, The command sed 's/...$//' filename is not working.i need an unix command that works in the command mode i.e in the esc mode.pease let me know the command to delete the last 3 letters in every line of a file .The 3 letters vary from line to line. Regards suneetha. (3 Replies)
Discussion started by: gaddesuneetha
3 Replies

4. UNIX for Dummies Questions & Answers

Command in vi - Block delete

What command I should provide in Vi so block deletionis possible ? (1 Reply)
Discussion started by: videsh77
1 Replies

5. Shell Programming and Scripting

Unable to view my post submitted 4 days ago

Hi Moderator, I am not able to view my post Shell Programming and Scripting - The UNIX and Linux Forums 7 Hours Ago by scottn · Go to last post · 2, 43. Encryption of card number ( Multi-page thread 1 2). mad_man12. 8 Hours Ago by Corona688 · Go to last post ... Please Advice (1 Reply)
Discussion started by: mad_man12
1 Replies

6. Shell Programming and Scripting

Find and delete files before a job is submitted to queue

Hello all. I need some help modifying the following script: #!/bin/bash #PBS -l nodes=1:ppn=8,walltime=48:00:00,os=centos53computeA ## To submit type: qsub x.sh # If not an interactive job (i.e. -I), then cd into the directory where # I typed qsub. if ; then if ; then cd... (3 Replies)
Discussion started by: marcozd
3 Replies

7. Shell Programming and Scripting

script submitted using ssh does not return to command prompt

Gurus, I have written a shell script to backup a database and applications. This is how the script works: 1. As applications user (say applmgr), the main backup script, say backup.sh, is kicked off. 2. backup.sh does ssh to oracle user and kicks off the database backup using nohup and... (1 Reply)
Discussion started by: sunpraveen
1 Replies

8. Shell Programming and Scripting

tr command to delete zeros

Hi, I have a input string 0000106 I need to extract the number after leading zeros ie the number 106. I used the command tr -d "0" and got the output as 16. Could any one of you please help me in using the tr command to get the output 106. Thanks in advance.... (2 Replies)
Discussion started by: dean_amrita
2 Replies

9. UNIX for Beginners Questions & Answers

CUPS - Does a Submitted Print file live somehwere?

Hello All, When using CUPs. Does the file that gets printed live in some temp directory somewhere? For example, if a user submits a PDF file to be printed, does a cached copy of that PDF file live somewhere on the Server in a temporary directory, at least until its printed? # lpq -P... (1 Reply)
Discussion started by: mrm5102
1 Replies
LPRM(1) 						      General Commands Manual							   LPRM(1)

NAME
lprm - remove jobs from the line printer spooling queue SYNOPSIS
lprm [ -a ] [ -A ] [ -Ddebugopt ] [ -Pprinter ] [ -V ] [ -Uuser ] [ jobid... ] [ all ] DESCRIPTION
Lprm will send a request to the LPD server to remove jobs from a spool queue. (See clean(1) for an lp(1) compatible interface.) Lprm is normally the only method by which a user may remove a job. The jobs to be removed are specified by the job number or user name; with no specifiers the first removable in a queue will be selected for removal. Usually users may only remove jobs submitted by themselves from the host which originated the original lpr request. The spool queue is searched first for jobs that the user has permissions to remove, then for jobs that match any of the specified set of tags. If no tags are specified, only the first job in the queue that the user has permissions to remove will be removed. If the -a flag or the all spool queue is specified, lprm will search all available spool queues. The all wildcard jobid is used to match all jobs in a spool queue; however unless the user has control permissions for the spool queue only the user's jobs will be removed. See the lpd(1) man page for details about control permissions. A jobid can be a job number, a user name, a job identifier, or a pattern for a glob based wild card match. This match is applied to the job identifier information. Lprm will announce the names of any files it removes and is silent if there are no jobs in the queue which match the request list. If the job being removed is active, the LPD server will stop printing the job and then restart printing operations. EXAMPLES
Remove the last job I submitted if it is in the queue: lprm Remove job 25 in spool queue p1: lprm -Pp1 25 Remove job 25 and 30 in spool queue p1: lprm -Pp1 25 30 Remove all of user john's jobs in spool queue p1: lprm -Pp1 john Remove all jobs in spool queue p1: lprm -Pp1 all Remove all jobs in all spool queues: lprm -a all Remove the jobs with identifier nobody@system in spool queue p1. Note that the quotes around the pattern are needed to suppress shell glob expansion. lprm -Pp1 'nobody@system*' OPTIONS
-A Use authentication specified by the value of the AUTH environment variable. -a Remove files from all spool queues available to the user. -Pprinter Specifies printer queue. By default, the destination printer is taken from the command line dest value, then the environment vari- ables PRINTER, LPDEST, NPRINTER, NGPRINTER, then first entry in the printcap information, and and finally the default_printer entry from the configuration file, and then the compile time default. -Uuser Explicitly provide a userid for doing the removal to the LPD server. This can be done only by ROOT or userids listed in the allow_user_setting configuration or printcap option. This facility is provided to allow printing front end systems such as SAMBA to submit job removal requests on behalf of users. -Ddebugopts Debugging is controlled using the -D option. This accepts a comma-separated list of debugging settings. These settings take one of two forms: facility=value , or value to set an overall default value. -V The -V option prints the version information for the program and verbose information about activities. WARNINGS
Users with CONTROL (i.e.- administrative) permissions on spool queues can remove any or all jobs. The all wildcard defaults to all user jobs, not just those submitted by the user. This allows administrators to purge a spool queue easily. ENVIRONMENT
By default, the destination printer is taken from the command line dest value, then the environment variables PRINTER, LPDEST, NPRINTER, NGPRINTER, then first entry in the printcap information, and and finally the default_printer entry from the configuration file, and then the compile time default. EXIT STATUS
The following exit values are returned: zero (0) Successful completion. non-zero (!=0) An error occurred. FILES
The files used by LPRng are set by values in the printer configuration file. The following are a commonly used set of default values. /etc/lpd.conf LPRng configuration file ${HOME}/.printcap user printer description file /etc/printcap printer description file /etc/lpd.perms permissions /var/run/lpd lock file for queue control /var/spool/lpd spool directories /var/spool/lpd/QUEUE/control queue control /var/spool/lpd/QUEUE/log trace or debug log file /var/spool/lpd/QUEUE/acct accounting file /var/spool/lpd/QUEUE/status status file SEE ALSO
lpd.conf(5), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.conf(5), pr(1), lprng_certs(1), lprng_index_certs(1). DIAGNOSTICS
Most of the diagnostics are self explanatory. If you are puzzled over the exact cause of failure, set the debugging level on (-D5) and run again. The debugging information will help you to pinpoint the exact cause of failure. HISTORY
LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng mailing list is lprng@lprng.com; subscribe by sending mail to lprng-request@lprng.com with the word subscribe in the body. The software is available from ftp://ftp.lprng.com/pub/LPRng. AUTHOR
Patrick Powell <papowell@lprng.com>. LPRng LPRng-3.9.0 LPRM(1)
All times are GMT -4. The time now is 10:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy