on ‎2018 Jul 11 4:03 PM
Hello,
I have built a cron job and when running from backoffice it is showing as success but the message that I have written in job is not getting printed on cmd. I want to see the message as output.
Please help.
Request clarification before answering.
Please check if info loggers are enabled for your class in HAC->platform->logging . If not try to enable loggers and check.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
public class MyJobPerformable extends AbstractJobPerformable { private static final Logger LOG = Logger.getLogger(MyJobPerformable.class.getName());
@Override
public PerformResult perform(final HelloWorldCronJobModel cronJobModel)
{
LOG.info("**********************************");
LOG.info("Greeting from MyJobPerformable!!!");
LOG.info("**********************************");
return new PerformResult(CronJobResult.SUCCESS, CronJobStatus.FINISHED);
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.