Addon to restart firefox after some time

Is there a firefox addon, that works like the shutdown /r /t xxx on the windows ?

I’m doing a project which I need to restart firefox every xxx period of time.
I’ve tried one called Restart Browser, but I couldn’t make work at all with the option to shutdown the browser completely and restart !
Thanks in advance !