Command execute on mikrotik, possible?

It is possible to run a command (run a script, disable interface, add dhcp lease etc) from dude on mikrotik? (As reboot or reconnect)
If yes, howto?