Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Sybase > Job Scheduler -...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2465 of 2504
Post > Topic >>

Job Scheduler - Issues.

by "vipra" <gandrakota@[EMAIL PROTECTED] > May 9, 2008 at 03:51 PM

Hello, I have created scheduler, job and scheduled jobs successfully.
However, when I try to execute a simple proc like, sp_who, i get below
error in jsagent.log and sp_sjobhistory (with list_output) shows error
(but not what the error is).

00:00006:00001:2008/05/09 15:57:39.62 worker  Job SQL failed.
00:00006:00001:2008/05/09 15:57:39.62 worker  callback to fetch results
failed
00:00006:00001:2008/05/09 15:57:39.62 worker  jsd_GetResults() failed
00:00006:00001:2008/05/09 15:57:39.62 worker  jsj__RunSQLJob() failed


Commands are given below. Any help is much appreciated.

-- create a schedule
sp_sjobcreate @[EMAIL PROTECTED]
'sname=Sched_sp_who',@[EMAIL PROTECTED]
'starttime=May 9 2008
15:48 PM,repeats=1day'
go
-- create a job
sp_sjobcreate @[EMAIL PROTECTED]
'jname=Job_sp_who', @[EMAIL PROTECTED]
'jcmd=''exec
sybsystemprocs..sp_who'',jdesc=sp who job'
go
-- create a schedule job
sp_sjobcreate @[EMAIL PROTECTED]
'sjname=SchedJob_sp_who',
@[EMAIL PROTECTED]
'sname=Sched_sp_who,jname=Job_sp_who,server=MYSEVER'
go


--
Message posted using
http://www.talkaboutdatabases.com/group/comp.databases.sybase/
More information at http://www.talkaboutdatabases.com/faq.html
 




 2 Posts in Topic:
Job Scheduler - Issues.
"vipra" <gan  2008-05-09 15:51:11 
Re: Job Scheduler - Issues.
"vipra" <gan  2008-05-20 08:24:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sat Jul 5 18:15:56 CDT 2008.