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

product sync on particular node

sreearumilli
Participant
0 Likes
191

Hi, All is there anyway we can default the product sync to node.Even though when we run the sync from hmc or productcockpit it should run from the node which we defaulted.

Regards, Sreenivas A.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member387866
Active Contributor
0 Likes

Hi Arumilli,

CronJobs can be run on a specific node, I think since 5.5.1, maybe 5.6.

 CronJobModel syncCronJob= ... //get the CronJob instance
 syncCronJob.setNodeID(2);
 modelService.save(syncCronJob);

Documentation: The CronJob Service.

Regards,
Luke