You are on page 1of 4

2.

2 Common Attributes for Jobs alarm_if_fail box_name box_terminator Condition date_conditions days_of_week delete_box description exclude_calender Insert_job job_terminator Job_type max_run_alarm min_run_alarm n_retrys override_job owner permission run_calendar run_window start_mins start_times term_run_time timezone update_job 2.3 Attributes of Command Job chk_files command std_err_file std_in_file std_out_file 2.4 Attributes of file-watcher jobs watch_file watch_file_min_size watch_interval 2.5 Attributes of Box Job box_failure box_success

Syntax alarm_if_fail: toggle box_name: <name> box_terminator: toggle condition: [(]condition[)][{AND | OR }[(] condition [)]] ... date_conditions: toggle days_of_week: {day [,day] ... | all} delete_job: job_name description: text exclude_calendar: calendar_name insert_job: job_name job_terminator: toggle job_type: type max_run_alarm: mins min_run_alarm: mins n_retrys: attempts override_job: job_name owner: {user@host_or_domain | user} permission: permission [, permission] run_calendar: calendar_name run_window: time-time start_mins: mins [, mins] start_times: time [, time] ... term_run_time: mins timezone: zone update_job: job_name

chk_files: file_system_name size [file_system_name size] ... command: command_name command_runtime_args std_err_file: pathname std_in_file: pathname std_out_file: pathname watch_file: pathname watch_file_min_size: bytes watch_interval: seconds box_failure: conditions box_success: conditions

autoping -m ALL -D to check if the machines are configured properly autorep {-J job_name | -M machine_name | -G global_name} [-s | -d | -q | o over_num][-r run_num][-L print_level] [-t] [-D data_server:database | -D TNSname] d indicates detail report, q indicates query report r run_num indicates specific job run this option can be used with -s and -d only.o means most recent run. -1 mens the previou Syntax: sendevent -E event [-S autoserv_instance] [-A alarm] [-J job_name] [-s status] [-C comment] [-P priority] [-M max_send_trys] [-q job_queue_priority] [-T time_of_event] [-G global_name=value] [-k signal_numbers] [-u] if box job is terminated the jobs in box will still run till completion if box job is changed to inactive the jobs in box will also be inactive if box is terminated and the jobs inside the box have are in AC and not RU then the jobs inside the box with go to IN Syntax: job_depends [-c | -d | -t] [-J job_name] [-F from_date/time][-T to_date/time] [-L print_level] [-D data_server:database | -D TNSname] the above command shows all the job dependencies and conditions c = current conditions d = dependencies only t = time dependencies

if the job fails post the alarm Indicates the name of the box in which this job is to be placed shd the box be terminated if the job fails condition: (success(JobA) AND success(JobB)) OR (done(JobD) AND done(JobE)) Specifies whether or not there are date or time conditions for starting this job Indicates the days of the week when the job will be Deletes the specified job from the Autosys Specifies a description for the Indicates the name of the custom calendar to be used for determining the days of the week on which this job will not run Adds a new command, box, or file watcher job definition to the Autosys database Specifies whether the job should be terminated if the box it is in fails or terminates Specifies whether the job is a command job, file watcher job, or box job Specifies the maximum run time (in minutes) that a job should require to finish Specifies the minimum runtime (in minutes) that a job should require to finish normally Specifies how many times, if any, the job should be restarted after exiting with a FAILURE Specifies that a one-time override be applied to a particular job, for the indicated attributes Specifies the owner of the job Indicates the name of the custom calendar to be used when determining the days of the week on which a job will run Indicates the time span during which the job will be allowed to start Indicates the number of minutes past the hour, every hour, on the specified days or dates, when the job will be started Indicates the times of day, in a 24-hour format, on the specified days or dates when the job will be started Specifies the maximum runtime that a job should require to finish normally Allows you to schedule a job based on a chosen time Updates an existing command, box, or file watcher job definition in the Autosys database Specifies the minimum amount of file space that must be available on designated file systems for the job to be started Can be the name of a command, shell script, or application program This setting overrides the instance-wide setting for the AutoInstWideAppend parameter in the Autosys configuration file Specifies the file to which the standard input file for the job should be redirected Specifies the file to which the standard output file should be redirected Specifies the file for which this file watcher job should watch Specifies the watch file minimum size Specifies the interval (in seconds) at which the file watcher job will check for the existence and size of the watched-for file Specifies the conditions to be interpreted as a box failure Specifies the conditions to be interpreted as a box

ecent run. -1 mens the previous run

he box with go to IN