cancel
Showing results for 
Search instead for 
Did you mean: 

Why to create a service layer job and what is the use of that job?.Can anyone please tell me

Former Member
0 Kudos

I have created a cronjob and the result of the job should hold the values for the product in .csv but I have seen that while creating a job there is something called service layer job.why to create a service layer job?can we create a cronjob directly?Can anyone please explain me?

Former Member
0 Kudos

Since, you have already created a class implementing the JobPerformable interface, you don't have to create a service layer job. During the phase of essential data creation, for each Spring definition of a class implementing the JobPerformable interface, a ServicelayerJob instance gets created and the code attribute of the job is set to the name of the Spring bean.

Please go through https://wiki.hybris.com/display/R5T/Trail+~+CronJobs for more information regarding this

Accepted Solutions (0)

Answers (0)