I need help creating a spaceship turret

I have a ship with a son turret and I want the turret to rotate based on the course position. How do you recommend I do it?.

The simplest way is to hold either target position on the turret entity, or to target entity so you can get position where to look at.
First option will be faster.

Then you just read data in the job and rotate turret entity toward a target.