Two men who were caught after police found over 240 cannabis plants worth up to £200,000 at a Holbeach farm were given suspended jail sentences by a judge.
Officers raided Millbank Farm on 22 May 2020 after removing a yale lock, Lincoln Crown Court heard.
David Eager, prosecuting, said Harvey Tyler, 23, whose role was to water the crop, was found living on the premises in a small caravan.
Mr Eager told the court while police were at the barn Daniel Magner, 33, arrived with a key to the property.
Both men admitted being concerned in the production of cannabis.
“There were 243 cannabis plants in various stages of growth,” Mr Eager told the court.
“It was a barn full of mature cannabis plants with all the various equipment except a watering system.”
A police drugs expert said the cannabis plants would produce a yield of between 6.7 and 20 kgs with a value ranging from £34,000 to £202,000 depending on how it was sold.
Jeremy Janes, mitigating for Tyler, said he had recently become a father and worked hard to put this behind him.