DSL Router reboot script

Hi al

Need some assistance / help with running the following script via Mikrotik and setting it to run daily at 6:00am
It is basically to reboot my DSL router.

I use to run it via a linux box, but that machine no longer on the network.
Any help will greatly be appreciated

Thanks in advance

it uses the cURL command.

IP=192.168.1.1
USER=admin
PASSWORD=password

curl --user $USER:$PASSWORD $IP/reboot.cgi >/dev/null 2>&1

for first try something like this :

 /tool fetch url="http://192.168.1.1/reboot.cgi" user=admin password=password

you can ran it via terminal (e.g via winbox), if it work go to system->sheduler and create task with this script