AutoSys Tutorials | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

AutoSys Tutorials

UNIX for Advanced & Expert Users


Tags
autosys, unix commands

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-26-2006
cpm189 cpm189 is offline
Registered User
 
Join Date: Jun 2006
Last Activity: 26 June 2006, 2:45 PM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #2  
Old 03-23-2007
LilyClaro LilyClaro is offline
Registered User
 
Join Date: Mar 2007
Last Activity: 23 March 2007, 2:12 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
http://supportconnectw.ca.com/public/autosys/infodocs/autosys_cheatsheet.asp

Moderator's Comments:
Legacy link above no longer works... years go by fast.
Sponsored Links
    #3  
Old 01-14-2008
Sathy153 Sathy153 is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 19 June 2008, 3:26 AM EDT
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
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.
    #4  
Old 02-29-2008
yvsanil yvsanil is offline
Registered User
 
Join Date: Nov 2007
Last Activity: 29 July 2011, 1:52 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #5  
Old 05-19-2008
hkumar hkumar is offline
Registered User
 
Join Date: May 2008
Last Activity: 19 May 2008, 2:23 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Required: AutoSys Material.

Hi,
If you have a good material on AutoSys or a link where i can get the source, Pls send that ....
Sponsored Links
    #6  
Old 05-25-2008
FlyingSquirrel's Avatar
FlyingSquirrel FlyingSquirrel is offline
Registered User
 
Join Date: May 2008
Last Activity: 11 November 2012, 12:42 AM EST
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
hkumar,

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


Code:
# 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:

Code:
   job_depends -t -J ALL -F "mm/dd/yyyy"

Display all jobs scheduled to run between these two dates:

Code:
 job_depends -t -J ALL -F:06/01/2008 -T:06/30/2008

check if the event procesor is up and running

Code:
chk_auto_up

Display list of available timezones:

Code:
autotimezone -l

Get version information:

Code:
autoflags -a

View Remote Agent log:

Code:
autosyslog -J jobname

AutoSys Unix xwindows GUI control panel

Code:
autosc &

Check Database connections:

Code:
autoping -m machinename -D

Sponsored Links
    #7  
Old 09-12-2008
rgilan01 rgilan01 is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 26 June 2009, 6:00 PM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
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..


Code:
>cron2jil -f file1

this will create a file1.jil file in the present directory.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Autosys: How to change a machine name in Autosys JIL. tp2115 UNIX for Dummies Questions & Answers 0 08-10-2011 12:02 PM
Documentation and books on Autosys Job Control Tool from Autosys gram77 UNIX for Advanced & Expert Users 0 11-10-2007 06:24 AM
Unix Tutorials/Programming Tutorials/Shell Scripting Tutorials Perderabo Answers to Frequently Asked Questions 0 04-25-2004 02:00 PM
tutorials siva_jm Shell Programming and Scripting 1 03-26-2004 12:41 PM



All times are GMT -4. The time now is 04:29 PM.