cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cronjob creation

former_member686625
Participant
0 Likes
743

Hi,

I have written a class extending AbstractJobPerformable and marked its entry in xml file also. Job is not getting created in database until I run "essential data" during update.

In production I cannot run the essential data. Could you help me identify how the job get created via essential data so that i can run that part only.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Likes

It is true that 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 springId attribute of ServicelayerJob is set to reference the Spring bean. You can check my answer https://answers.sap.com/questions/12771553/what-is-difference-bw-job-and-abstractjobperformab.html?c...

However, you can do this by importing the following ImpEx and thus skipping the System update:

  INSERT_UPDATE ServicelayerJob;code[unique=true];springId
  ;id-of-your-spring-bean;id-of-your-spring-bean
former_member686625
Participant
0 Likes

Thanks for replying Arvind. I will try it.

Answers (0)