There are multiple definitions - click on the translation that matches your context.

兼职

动词

full

moonlight

verb

Definitions of moonlight

English

(informal) to have a second job as well as your regular job, especially a job that you do secretly and in the evenings, at night, or weekends, and do not declare to the tax authorities

I did general medicine after qualifying, and moonlighted at a psychiatric hospital.