How to setup a timed reset
From Tech-Wiki
If you required to configure the Juniper to reset at a particular time you can use the set timer command. This is useful when configuring the Juniper remotely and need to reset the device as the timed reset does not save the config.
Set a timed reset.
set timer mm/dd/yyyy hh:mm action reset
Show timed events.
get timer
Stop a timed reset, use the id as show in the get timer output.
unset timer <id>