Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

UI Expand
title.NET

//TODO update where the .NET job shoulbe should be be available

Code Block
public class TestJob : BQ.IJob
{
    public void execute(BQ.IExecutionContext context)
    {
        BQ.IJobParamters parameters = context.getParameters();
        BQ.IScheduler scheduler = context.getScheduler();     
    }
}

Scheduling, unscheduling and rescheduling custom jobs

Scheduling custom jobs

 

UI Expand
titleJava

Fpr scheduling custom jobs the the SpringQuartzScheduler from the

Code Block
@Component
public class MyJob implements IJob {

 @Override
 public void execute(IExecutionContext context) {
	IJobParamters paramters = context.getParameters();
	IScheduler scheduler = context.getScheduler();     
 }
}
UI Expand
title.NET

//TODO update where the .NET job should be be available

Code Block
public class TestJob : BQ.IJob
{
    public void execute(BQ.IExecutionContext context)
    {
        BQ.IJobParamters parameters = context.getParameters();
        BQ.IScheduler scheduler = context.getScheduler();     
    }
}

Unscheduling custom jobs

Rescheduling custom jobs

...