Archive

Archive for the ‘SQL Job Agent’ Category

AutoSys Job Scheduler

April 8, 2010 Leave a comment

Here is a nice article about AutoSys job scheduler.

AutoSys is used for defining, scheduling and monitoring jobs. These jobs can be a UNIX script, java program or any other program which can be invoked from shell.

As a BI developer, it’s important to understand how AutoSys works at high level. To utilize AutoSys job scheduler, I would specify all the dependencies my process has. These will include any objects on SQL server and also on the host DBMS. Generally speaking, jobs that are scheduled through AutoSys will work more efficiently if the jobs are standalone jobs.

Categories: SQL Job Agent

Job Scheduling – Write to a Load Stat Table

March 16, 2010 Leave a comment

image

Categories: SQL Job Agent

Job Scheduling – Notify on Failure

March 16, 2010 Leave a comment

image

Here is the script for the job notification.

Categories: SQL Job Agent

Job Scheduling – Wait for a load stats

March 16, 2010 Leave a comment

image

Here is the procedure that “waits for”.

Categories: SQL Job Agent

Job Scheduling – Skip a step on Weekends

March 16, 2010 Leave a comment

image

if(datename(dw, getdate()) in (‘Sunday’, ‘Monday’))
    raiserror(‘it”s Sunday or Monday, skipping F report’, 11, 1)

Categories: SQL Job Agent
Follow

Get every new post delivered to your Inbox.

Join 26 other followers