12-02-2010
Autosys Help!
I am not sure why my output keeps going to my std_out_file!!
Here's my JIL:
insert_job: test_autosys job_type: c
command: $SCRIPT_DIR/test
machine: abcde
owner: bob@abcde
permission: gx,wx
date_conditions: 1
days_of_week: mo, tu, we, th, fr
start_times: "8:00, 9:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00"
description: "Test Job"
std_out_file: $TEMP_DIR/$AUTO_JOB_NAME.$AUTORUN.OUT.$$
std_err_file: $TEMP_DIR/$AUTO_JOB_NAME.$AUTORUN.ERR.$$
alarm_if_fail: 0
profile: /apps/autosys_profile
Here's my profile
#!/bin/sh
TEMP_DIR=/tmp;
SCRIPT_DIR=/home;
OUTPUT=/home/output_autosys;
Here's my script called "test"
#!/bin/sh
#This is a comment
echo `date` testing Autosys >> $OUTPUT
When i run this job .. I am not getting any echo on my output_autosys file, but I am getting it at my std_out_file under /tmp.
Any idea why??
10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Advanced & Expert Users
I have installed CA::Autosys my pc. It is in /usr/lib/perl5/site_perl/5.8.8/CA/AutoSys/AutoSys.pm .
I have Sybase Installed.
Kindly help to how to connect autosys to database..
Also how do I create users in Autosys..
Please guide me..
Thank You.. (1 Reply)
Discussion started by: bhuvaneshlal
1 Replies
3. Shell Programming and Scripting
In AUTOSYS is there a way to find out who created the job?
Thanks (0 Replies)
Discussion started by: talashil
0 Replies
4. Shell Programming and Scripting
Hi,
I need to schedule a script to run at 12:00 on first day of every month.
I don't know how to set it. Like days_of_week, do we have days_of_month where we can put 1?
Thanks,
Siba (5 Replies)
Discussion started by: siba.s.nayak
5 Replies
5. Shell Programming and Scripting
Hi,
I have heard of file watcher job and command job in autosys.
can anyone tell me about box type job?
An example would be appreciated.
Thanks in Advance. (4 Replies)
Discussion started by: diehard
4 Replies
6. UNIX for Dummies Questions & Answers
Guys, anyone familiar with Unix AutoSys?
I am wondering what is done to make a script located in this dir:
/home/user2/mywork.pl
I have access to jil files incase that helps.
to work everyday at 5pm?
Any insight or guidance would be appreciated. (7 Replies)
Discussion started by: DallasT
7 Replies
7. UNIX for Dummies Questions & Answers
All the autosys jobs are on server-1 and server-1 has been crashed due to some reason, Now I have to run 5 autosys jobs on server-2 (failover server) which are on server 1.
How to do with Autosys command (which command needs to fired on JIL) (0 Replies)
Discussion started by: tp2115
0 Replies
8. OS X (Apple)
We have a primary and shadow running our scheduler. We need to
upgrade both to a more current OS. We'd like to take down the shadow
and update it, then allow it to become the primary while we update the
current primary. Does Autosys care what OS you are running or can it
potentially toggle... (0 Replies)
Discussion started by: Cjw_55106
0 Replies
9. UNIX for Advanced & Expert Users
From where i can get complete Ref. pdf of AutoSys r11.3 any one got idea ?
I cant find good document for that (2 Replies)
Discussion started by: ujjwal2120
2 Replies
10. Shell Programming and Scripting
I am very new to Autosys and want to execute my first batch or job there.
I have url to open Autosys and have access of Folder Structure
1. for AutoSys Job log
2. for AutoSys profile and parameters
3. for Shell Scripts
Please share some information that how to create a job using GUI.
I am... (2 Replies)
Discussion started by: Muneshshar
2 Replies
LEARN ABOUT PLAN9
newuser
NEWUSER(8) System Manager's Manual NEWUSER(8)
NAME
newuser - adding a new user
SYNOPSIS
rc /sys/lib/newuser
DESCRIPTION
To establish a new user on Plan 9, add the user's name to /adm/users by running the newuser command on the console of the file server (see
users(6) and fs(8)). Next, give the user a password using the changeuser command on the console of the authentication server (see
auth(8)). At this point, the user can bootstrap a terminal using the new name and password. The terminal will only get as far as running
rc, however, as no profile exists for the user.
The rc(1) script /sys/lib/newuser sets up a sensible environment for a new user of Plan 9. Once the terminal is running rc, type
rc /sys/lib/newuser
to build the necessary directories in /usr/$user and create a reasonable initial profile in /usr/$user/lib/profile. The script then runs
the profile which, as its last step, brings up 81/2(1). At this point the user's environment is established and running. (There is no
need to reboot.) It may be prudent at this point to run passwd(1) to change the password, depending on how the initial password was cho-
sen.
The profile built by /sys/lib/newuser looks like this:
bind -a $home/bin/rc /bin
bind -a $home/bin/$cputype /bin
font = /lib/font/bit/pelm/euro.9.font
switch($service){
case terminal
prompt=('term% ' ' ')
fn term%{ $* }
exec 81/2
case cpu
bind -b /mnt/term/mnt/81/2 /dev
prompt=('cpu% ' ' ')
echo -n $sysname > /dev/label
fn cpu%{ $* }
news
case con
prompt=('cpu% ' ' ')
news
}
Sites may make changes to /sys/lib/newuser that reflect the properties of the local environment.
Use the -c option of mail(1) to create a mailbox.
SEE ALSO
passwd(1), 81/2(1), namespace(4), users(6), auth(8), fs(8)
NEWUSER(8)