02-21-2003
You can create/modify jobs either through the GUI interface (Schedular console) or you can script it with the JIL command. Here is a sample JIL code.
/* ----------------- sample_ls ----------------- */
insert_job: sample_ls job_type: c
command: ls -l
machine: unixboxa
owner: user123
permission: wx,mx,we,me
description: "runs an ls -l as user123"
job_terminator: 1
alarm_if_fail: 0
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to search for a failed status of 2 autosys jobs which write to the same logfile. Is there any way to do that on one line? I already know the following doesn't work, but is there a way to get it to work, or will I have to do a loop?
RUN_STATUS=autorep -J jobname jobname
if
then
... (1 Reply)
Discussion started by: tekster757
1 Replies
2. Shell Programming and Scripting
post deleted ... (2 Replies)
Discussion started by: Data469
2 Replies
3. Shell Programming and Scripting
hello There,
I am pretty much new to Shell Scripting and also to AutoSys. I would like to know how to list the Autosys jobs in FA status using shell scripting. I would like to get an email alert as and when any Autosys job fails. Also, it should give the path of the Log file.
Could you please... (0 Replies)
Discussion started by: supragna
0 Replies
4. UNIX for Dummies Questions & Answers
Hello There,
I am pretty much new to Shell Scripting and also to AutoSys. I would like to know how to list the Autosys jobs in FA status using shell scripting. I would like to get an email alert as and when any Autosys job fails. Also, it should give the path of the Log file.
Could you please... (5 Replies)
Discussion started by: supragna
5 Replies
5. Shell Programming and Scripting
I need to list out all the AutoSys jobs that are referencing a particular AutoSys global variable.
I know the autorep command will definitely need to be used here, and maybe grep as well, but I can't figure out exactly how it's to be done. For example, "autorep -q -J %jobnamewildcard% | grep... (1 Reply)
Discussion started by: dazzwater
1 Replies
6. UNIX for Advanced & Expert Users
Hi
I have 2 autosys jobs (JobA and JobB) both are in different boxes but part of one big box. I want to make them mutually exclusive so that when JobA is running then JobB should not run and wait for jobA to finish/fail/terminate and vice versa.
Both jobs have their own starting conditions... (1 Reply)
Discussion started by: SPJ47
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a script that take one parameter as an input.
for example:
./clean.sh <foldername>
There are 7 different folder names that we can provide to my script and my script would delete the contents of that folder that was passed as an argument.
Inorder to have this script... (3 Replies)
Discussion started by: shifahim
3 Replies
8. UNIX for Dummies Questions & Answers
Can anyone please tell me how to refresh the jobs in Autosys Scheduler?
---------- Post updated at 03:19 PM ---------- Previous update was at 03:18 PM ----------
I need a command to refresh it. (2 Replies)
Discussion started by: Lakme Pemmaiah
2 Replies
9. Shell Programming and Scripting
I have been working on to neatly present the job dependency lineage in autosys through ksh/perl and I am having trouble in recursively finding the dependency.
it will be great if anyone could share their thoughts on this.?
I know that job_depends in autosys will help me give first level of... (0 Replies)
Discussion started by: Vhunt
0 Replies
10. Shell Programming and Scripting
Hi Gurus,
below list is autosys job output stats, it includes boxes, sub-boxes and detail jobs. detail jobs are most right indented ones in each box. the requests is to get all these detail jobs list.
the only way to identify the "detail job", is intend.
auto_job ... (2 Replies)
Discussion started by: green_k
2 Replies
PVM(1PVM) PVM Version 3.4 PVM(1PVM)
NAME
pvm - PVM version 3 console
SYNOPSIS
pvm [ -options ] [ hostfile ]
DESCRIPTION
Pvm is a stand alone PVM task which allows the user to interactively query and modify the virtual machine. The console can be started and
stopped multiple times on any of the hosts in the virtual machine without affecting PVM or any applications that may be running.
When started pvm determines if PVM is already running and if not automatically executes pvmd3 on this host, passing pvmd3 the command line
options and host file. Thus PVM need not be running to start the console. Once started the console prints the prompt:
pvm>
The following console commands are available:
add hostname(s) - Add hosts to virtual machine
alias - Define/list command aliases
conf - List virtual machine configuration
delete hostname(s) - Delete hosts from virtual machine
echo - Echo arguments
export - Add environment variables to spawn export list
halt - Stop pvmds
help [command] - Print helpful information about a command
id - Print console task id
jobs - List running jobs
kill task-tid - Terminate tasks
mstat host-tid - Show status of hosts
ps -a - List all PVM tasks
pstat task-tid - Show status of tasks
quit - Exit console
reset - Kill all tasks
setenv - Display/set environment variables
sig signum task - Send signal to task
spawn [opt] a.out - Spawn task
opts are: -(count) number of tasks, default is 1
-(host) spawn on host, default is any
-(ARCH) spawn on hosts of ARCH
-? enable debugging
-> redirect task output to console
-> file redirect task output to file
->>file redirect task output append to file
trace - Set/display trace event mask
unexport - Remove environment variables from spawn export list
unalias - Undefine command alias
version - Show libpvm version
pvm reads $HOME/.pvmrc before reading commands from the tty, so it can be used to customize the console environment, for example:
alias ? help
alias j jobs
setenv PVM_EXPORT DISPLAY
# print my id
echo new pvm shell
id
EXAMPLES
pvm
Starts up pvmd3 on the local host or connects to running pvmd3.
pvm hostfile
Starts up console and pvmd3, which in turn reads the host file and adds the listed computers to the virtual machine.
SEE ALSO
pvm_intro(1PVM), pvmd3(1PVM)
30 August, 1993 PVM(1PVM)