If you want for this template to run unattended, there are several things to consider:
If your SPC standard is configured to check for real-time failures, you should also configure the system to automatically store notes.
Make sure that your text file does not contain blank values in the part number column.
Make sure that your text file does not contain non-numeric values in the data columns.