reboot device over ssh

Hi,
I try to reboot device over ssh with

/system reboot

or

/system reboot;

but when i execute this code manually it asks for confirmation. how can I auto input Y so that i dont have to press key manually?
any solution?

Thanks

Try forum search on system reboot confirmation.

http://forum.mikrotik.com/t/force-reboot/32053/16

Just tested this on 6.40rc6 and it works fine.

Hi,
I found the soultion.. Thanks

And the solution is?

The scheduler is an option. Did you find something else?

Is too hard follow and read already posted link and solution?

:execute {/system reboot}