The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Documentation and books on Autosys Job Control Tool from Autosys gram77 UNIX for Advanced & Expert Users 0 11-10-2007 02:24 AM
red hat tutorials msuresh_mvp Linux 1 06-30-2006 10:39 AM
gdb Tutorials wojtyla High Level Programming 1 07-05-2005 03:47 AM
Unix Tutorials/Programming Tutorials/Shell Scripting Tutorials Perderabo Answers to Frequently Asked Questions 0 04-25-2004 10:00 AM
tutorials about zsh SpY974 Shell Programming and Scripting 3 05-21-2002 12:47 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-26-2006
Registered User
 

Join Date: Jun 2006
Posts: 1
AutoSys Tutorials

Hi,

Where can I find a good AutoSys User Guide so that I can get all the details on those AutoSys commands like "sendevent" and "autorep"?


Thanks a lot in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-23-2007
Registered User
 

Join Date: Mar 2007
Posts: 2
http://supportconnectw.ca.com/public...cheatsheet.asp
Reply With Quote
  #3 (permalink)  
Old 01-14-2008
Registered User
 

Join Date: Jan 2008
Posts: 25
Autosys - Need help!!

Hi,

I have the requirement to transfer jobs from cron to Autosys.

(1) Would like to know the steps to move one cron job to Autosys.
(2) Using Autosys, can I execute unix jobs of different servers?

Thanks in advance.
Reply With Quote
  #4 (permalink)  
Old 02-29-2008
Registered User
 

Join Date: Nov 2007
Posts: 2
Yes, you could call the unix comands in Autosys, Profile is the most important attribute for any job to be executed, please make sure the environmental variable's are specified properly.
cron2jil is the command which you would have to run, after sourcing autosys on the machine you are working, you could run this command.
Autosys does not take the calendar values of the cron jobs,
Please make sure that you dont include a file which has lot of cron jobs for conversion as it may lead to issues.
For all the values you have charecter limit in autosys jil which should also be taken care of
Reply With Quote
  #5 (permalink)  
Old 05-18-2008
Registered User
 

Join Date: May 2008
Posts: 1
Required: AutoSys Material.

Hi,
If you have a good material on AutoSys or a link where i can get the source, Pls send that to my ID:
h.kumar.nanjundappa@accenture.com
Reply With Quote
  #6 (permalink)  
Old 05-24-2008
Registered User
 

Join Date: May 2008
Posts: 8
hkumar,

Here are some handy aliases to use with autosys...

# Send Event
alias -x se='sendevent -E'

# Start Job
alias -x fsj='sendevent -E FORCE_STARTJOB -J'
alias -x sj='sendevent -E STARTJOB -J'

# Job Report
ar='autorep -w -J '

fsj='sendevent -E FORCE_STARTJOB -J'
hold='sendevent -E JOB_ON_HOLD -J '
ice='sendevent -E JOB_ON_ICE -J '

jd='job_depends -c -w -J '
killjob='sendevent -E KILLJOB -J '
offhold='sendevent -E JOB_OFF_HOLD -J '
office='sendevent -E JOB_OFF_ICE -J '
se='sendevent -E'
sj='sendevent -E STARTJOB -J'
success='sendevent -E CHANGE_STATUS -s SUCCESS -J '
terminate='sendevent -E CHANGE_STATUS -s TERMINATED -J '

Display JIL (Job Instruction Language):
autorep -w -J <jobname> -q

Load JIL:
jil < JIL_source

Find unique commands currently being used:
autorep -J PARTIALJOBNAME% -q | grep "command:" | awk -F: '{print $2}'|awk '{print $1}' | sort -u > /tmp/cmds.txt

Meaning of AutoSys status:
STATUS AUTOSTATUS Meaning
RU RUNNING Running
ST STARTING Starting
SU SUCCESS Success
FA FAILURE Failure
TE TERMINATED Terminated
OI ON_ICE On Ice
IN INACTIVE Inactive
AC ACTIVATED Activated
RE RESTART Restart
OH ON_HOLD On Hold
QW QUE_WAIT Queue Wait
RD Refresh Dependencies
RF Refresh Filewatcher


Forecast report from date to infinity:
job_depends -t -J ALL -F "mm/dd/yyyy"

Display all jobs scheduled to run between these two dates:
job_depends -t -J ALL -F:06/01/2008 -T:06/30/2008

check if the event procesor is up and running
chk_auto_up

Display list of available timezones:
autotimezone -l

Get version information:
autoflags -a

View Remote Agent log:
autosyslog -J jobname

AutoSys Unix xwindows GUI control panel
autosc &

Check Database connections:
autoping -m machinename -D
Reply With Quote
  #7 (permalink)  
Old 4 Weeks Ago
Registered User
 

Join Date: Sep 2008
Posts: 6
Use cron2jil feature. For more info check your manual or just type "man cron2jil" on the command line -- offcourse after setting up your profile.

e.g: if you have a crontab file called file1. Try the following..

>cron2jil -f file1

this will create a file1.jil file in the present directory.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
autosys

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0