Depends on your mine. Some are now programed to explode after say three months to avoid the problem of them being a threat for a long time. A lot get laid just in time by drones rather than staying there for ages.
Hopefully they are treating these as a quickly deployable defense of last resort and not deploying them in advance. Mines can be deployed by special artillery shells and drones, but generally they shouldn’t be, ever.