none
test

Odpowiedzi

  • You need to connect to the cluster before creating the job:

     

    IScheduler scheduler = new Scheduler();

     

    scheduler.Connect("ccsv2-hn");

    ISchedulerJob job = scheduler.CreateJob();

    ...

    scheduler.SubmitJob(job, null,null);

     

    Regards,

     

    -Ming

     

    12 lutego 2008 01:56

Wszystkie odpowiedzi

  • ming,

     

    I need a job id returned so that i can save it together with my task output. The following snippet returns job.Id= -1.

     

    IScheduler scheduler = new Scheduler();

    ISchedulerJob job = scheduler.CreateJob();

    scheduler.Connect("ccsv2-hn");

    ...

    scheduler.SubmitJob(job, null,null); // job.Id= -1 here

     

    What should i do?

    Thanks,

    tpham

    7 lutego 2008 22:01
  • Test ack.

    11 lutego 2008 17:55
  • You need to connect to the cluster before creating the job:

     

    IScheduler scheduler = new Scheduler();

     

    scheduler.Connect("ccsv2-hn");

    ISchedulerJob job = scheduler.CreateJob();

    ...

    scheduler.SubmitJob(job, null,null);

     

    Regards,

     

    -Ming

     

    12 lutego 2008 01:56