Auto reboot TP-Link modem from Mirkotik tool fetch

Hi friends. I want to reboot my TP-Link modem automatically every day from telnet. is any way too reboot TP-Link modem from mikrotik router automatically ? I can reboot manually from mikrotik terminal but how to set username and password to script for auto reboot modem every day ?

or is any script to access the modem telnet and run the commands ?

thanks

http://forum.mikrotik.com/t/script-telnet/63509/1