I have in my tree 24 people baptised in Rothes between 1790 and 1800. Of these, six mention the father's occupation.
Five of these are children of James Sutor, mason. He had 11 children altogether between 1780 and 1803, and most of the baptisms list his occupation.
The other one mentioning an occupation says 'farmer'. Most of the ones not mentioning an occupation resided in places outside the town, so might reasonably be expected to be farmers or crofter.
I can't do a similar exercise for Elgin, unfortunately.
In my tree is a John Roy, "tenementer in Town of Rothes" who married Jean Leslie, widow of John Douglas in 1812. They had six of a family. In the baptism of one of the children he is described as tailor and tenementer, and in the last four as carrier and tenementer. John died in 1838, after which Jean and her children by both marriages all emigrated to Australia. I am unsure who this John was. I have him down as either the son of James Roy, baptised in Rothes 1775, or the son of Joseph Roy and Helen Gordon, baptised in Rothes 1789. Probably in fact the latter, based on the names of his children, though if it is him he was 7 years younger than his wife. This may or may not be helpful.