What could be the cause of a Mikrotic Router to restart itself after every 30seconds?
Bad power supply. Bad capacitors inside. Netwatch. Some script. Bad flash. Whatever else.
Swap the adapter. Check capacitors. Reset it. Try netinstall if necessary.
I think the most likely cause is the system watchdog (one of the things Jarda mentioned)
If it can’t ping the configured address, then it’s going to reboot the box.
aside powersupply and capacitors in it, it may be overheating(faulty chip, broken heatsink or termal compund or other issues).