10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have multiple jobs and each job dependent on other job.
Each Job generates a log and If job completed successfully log file end's with JOB ENDED SUCCESSFULLY message and if it failed then it will end with JOB ENDED with FAILURE.
I need an help how to start.
Attaching the JOB dependency... (3 Replies)
Discussion started by: santoshkumarkal
3 Replies
2. Shell Programming and Scripting
Hello,
I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies
3. Solaris
There are two jobs in Solaris , Cron and at jobs..
I know how to disable or enable cron jobs.
How can I enable at jobs and disable it.
Kindly help.
Rj (2 Replies)
Discussion started by: jegaraman
2 Replies
4. Shell Programming and Scripting
Hi Frenz,
How do we get a cron job running in background to foreground ? (3 Replies)
Discussion started by: mkalase
3 Replies
5. SCO
Dear Experts,
I would like to know how to create at jobs from scratch, i.e. files to modify, files to create etc. For example, i would like my system to be able to backup data everyday at 13:00 and restart everyday at 0600. How do i make atjobs regenerate the jobs. Am using Sco Openserver... (1 Reply)
Discussion started by: njoroge
1 Replies
6. Shell Programming and Scripting
Please suggest how can i modify or change the at jobs ? (4 Replies)
Discussion started by: anupdas
4 Replies
7. UNIX for Advanced & Expert Users
I need to start a job every friday night at 8:00 P.M , it runs all the day on Sat and Sun....can somebody tell me how to do this...I understand crontab...but haven't used it.........can u write some steps.....how to create a file and call.....I honestly dont know? Plz help.Thanks (2 Replies)
Discussion started by: RubinPat
2 Replies
8. Solaris
how to schedule a reboot using the at jobs ? (3 Replies)
Discussion started by: priky
3 Replies
9. Shell Programming and Scripting
i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help.
$cat run_job.ksh
#!/usr/bin/ksh
####################################
typeset -u SCHEMA_NAME=$1
... (1 Reply)
Discussion started by: GrepMe
1 Replies
10. UNIX for Advanced & Expert Users
I am running this script below as a cron job for user root. In fact I set this job early last week and expected it to delete archive logs older than 7 days, but doesn't work - just displays the echo messages and no error. Can somebody advise me the probable causes ??
DAY_AFTER=7; export... (1 Reply)
Discussion started by: vbaskar
1 Replies
cancel(1) Apple Inc. cancel(1)
NAME
cancel - cancel jobs
SYNOPSIS
cancel [ -E ] [ -U username ] [ -a ] [ -h hostname[:port] ] [ -u username ] [ -x ] [ id ] [ destination ] [ destination-id ]
DESCRIPTION
The cancel command cancels print jobs. If no destination or id is specified, the currently printing job on the default destination is can-
celed.
OPTIONS
The following options are recognized by cancel:
-a Cancel all jobs on the named destination, or all jobs on all destinations if none is provided.
-E Forces encryption when connecting to the server.
-h hostname[:port]
Specifies an alternate server.
-U username
Specifies the username to use when connecting to the server.
-u username
Cancels jobs owned by username.
-x Deletes job data files in addition to canceling.
CONFORMING TO
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", or "#". Also,
printer and class names are not case-sensitive.
EXAMPLES
Cancel the current print job:
cancel
Cancel job "myprinter-42":
cancel myprinter-42
Cancel all jobs:
cancel -a
NOTES
Administrators wishing to prevent unauthorized cancellation of jobs via the -u option should require authentication for Cancel-Jobs opera-
tions in cupsd.conf(5).
SEE ALSO
cupsd.conf(5), lp(1), lpmove(8), lpstat(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
15 April 2014 CUPS cancel(1)