10-11-2017
Assuming you know how to create job in autosys.
Step1 : Create a script which will execute the query and populate it to a file. If the file is having more that one record you can execute a mailx to send the email
Step2: Create a job and make that to run every 30 min using the autosys start_time parameter
Let me know if you need more details
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
autorep -J dfile_252500_U_HSP_f2purge -w
Job Name Last Start Last End ST Run Pri/Xit
________________________________________________________________ ____________________ ____________________ __ _______ ___
... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have done kill-9 xxx for a job which is running in Autosys.
But when i use autorep -j xxx it is showing the job is in run status.
How to kill a job in Autosys which is in running status..
Thanks
Arun (3 Replies)
Discussion started by: arunkumar_mca
3 Replies
3. UNIX for Advanced & Expert Users
My project uses Autosys.
I am new to this product and I don't know where to start from.
Q1. Please provide me the link where I can get Autosys documentation
Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies
4. UNIX for Advanced & Expert Users
Hi,
I want to schedule a job through Autosys (in Linux server) to run on 1st day of every 3rd month(gap of 90 days). Please someone help me to achive my above requirement
Example:
Run the sample.sh on 01-Jan-2009, 01-Apr-2009, 01-Jul-2009, 01-Oct-2009.
Thanks in advance (4 Replies)
Discussion started by: apsprabhu
4 Replies
5. UNIX and Linux Applications
Hello!
I will be working with Autosys and I am looking for individuals that have knowledge of this UNIX application.
Thank-you! (3 Replies)
Discussion started by: preshe79
3 Replies
6. Shell Programming and Scripting
We need to configure autosys that when a job fails continously for 3 times, we need to call another job.
Is this possible in Autosys, or can anyone advice on the alternative. (2 Replies)
Discussion started by: sangea
2 Replies
7. UNIX for Dummies Questions & Answers
Hi Can any one tell me free online good book for autosys job.
Also whats the basic difference between Autosys job and cron job.
Thanks in advance. (2 Replies)
Discussion started by: diehard
2 Replies
8. Shell Programming and Scripting
I need to know the list of autosys job that run between given time.
I have the following command.
job_depends -t -J abc% -F "12/25/2010 03:00" -T "12/26/2010 05:00"
Above command will give the list of job that run between time 3 AM and 5 AM.
But the it gives me in random order how to... (1 Reply)
Discussion started by: diehard
1 Replies
9. UNIX for Advanced & Expert Users
I have submitted an autosys job and force start it. Autosys hit the job 4 times to restart but it did not start and finally I terminate the job. Any idea why the job did not start. Below is the code I executed.
1214 missun0ap /export/home/bzn97r/develop/dswi/jil$ sendevent -E FORCE_STARTJOB... (0 Replies)
Discussion started by: jnrohit2k
0 Replies
10. Programming
Hi all,
I am new to Unix.
I would like to create a Autosys job in Unix. Can you please suggest.
below is the requirement.
1. Need t Send in email every 30 minutes from 11 am to 3:00 PM. E-mail should only be sent ONLY when below Query have data return.
select * from emp where... (1 Reply)
Discussion started by: vasuvv
1 Replies
qrun(8B) PBS qrun(8B)
NAME
qrun - run a pbs batch job
SYNOPSIS
qrun [-a] [-H host] job_identifier ...
DESCRIPTION
The qrun command is used to force a batch server to initiate the execution of a batch job. The job is run regardless of scheduling posi-
tion, resource requirements, or state.
In order to execute qrun, the user must have PBS Operation or Manager privilege.
OPTIONS
-a Specifies the job(s) is to be run asynchronously.
-H host Specifies the host within the cluster on which the job(s) are to be run. The host argument is the name of a host that is a
member of the cluster of hosts managed by the server. If the option is not specified, the server will select the "worst
possible" host on which to execute the job.
OPERANDS
The qrun command accepts one or more job_identifier operands of the form:
sequence_number[.server_name][@server]
STANDARD ERROR
The qrun command will write a diagnostic message to standard error for each error occurrence.
EXIT STATUS
Upon successful processing of all the operands presented to the qrun command, the exit status will be a value of zero.
If the qrun command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO
pbs_server(8B), pbs_sched(8B), qmgr(1B)
Local qrun(8B)