Lcoder_001
Lcoder_001

Reputation: 153

'Abort CronJob' botton is not visible in HMC?

I created a cronjob in hybris 6.1. In HMC 'Start CronJob now' button is there to start cron job but 'Abort CronJob' button is not showing.What to do ????

Upvotes: 0

Views: 560

Answers (1)

alain.janinm
alain.janinm

Reputation: 20065

All jobs are not abortable. To be abortable a job must implement the isAbortable method and return true.

Example :

@Override
public boolean isAbortable()
{
  return true;
}

See Writing an Abortable Job.

Upvotes: 1

Related Questions