script autostart

How can I execute some script on each router startup?

How about reading the manual?

The page describing the system scheduler says (among other interesting things):

if scheduler item has start-time set to > startup> , it behaves as if start-time and start-date were set to time 3 seconds after console starts up. It means that all scripts having start-time=startup and interval=0 will be executed once each time router boots.

Best regards,
Christian Meis