I’m not sure about the restart part but there are options available that will let the scan complete on its own (without prompting the user):

http://s28.postimg.org/gktws58m5/Screenshot_161.png