Script which reboot a router once after boot

Hello dear Mikrotik users!

Could you help me to write a script which reboot a router once after its booted after power failure?

Powered On AFTER POWER FAILURE → Mikrotik Booted Up > Wait for 1 minute > Reboot > Do nothing since there was no reboot power failure.