Can I start from first principles?
All that is needed is a device which gives the pendulum a prod as it passes. This need not happen every time, or even regularly, as long as the movement is so free of friction that it swings for several cycles without further impulse. It is easier, though, to prod every time. The actual prod can be mechanical, or electro-magnetic (etc).
It might be worth trying a pendulum supported, pivoted, at the top of an upright strut, which itself swing a small amount round a pivot at its lower end. The strut is what receives the nudge or prod, so the pivot for the pendulum moves slightly too and fro, and this keeps the swing in action.
As the strut moves to and fro it can operate microswitches, which would be more stable in operation on a two-position flip-flop strut than on the continually moving pendulum itself.
Unless, of course, you actually need an escapement wheel – which is a lot of work for no real benefit for driving a pendulum on its own.
Unless I have mis-understood (again).
Cheers, Tim
Edited By Tim Stevens on 24/07/2019 22:42:41