See matching posts in thread - Executing MS-SQL Agent Job and ...
See matching posts in thread - Restart the agent with the ojdb...