上工 specifically suggests manual or shift work — factory hands, construction crews, farm labor — not white-collar office jobs (for those use
上班, shàngbān). Its opposite
下工 /
收工 means "to knock off / finish for the day." Slightly old-fashioned and rural in tone.