If the script application deployment command's job restart action is set to restart, then the script will be re-executed. ...

If the script application deployment command's job restart action is set to restart, then the script will be re-executed.  Otherwise, the script application deployment command will be skipped when the job is restarted, in which case corrective action should be taken to mitigate the effects of the script command failure.