Scheduling a Routine Json Data Import via DataPort

I need to schedule my Json webservice daily import!  

To start I right-clicked on my start button and selected Computer Management.  I then right-clicked on the top node, selected Connect to another Computer, and entered the fully qualified name of my Content Manager workgroup server.  I'm putting the routine onto the server since they typically have the appropriate power saving, backup/recovery, and management settings I need for monitoring.

2017-09-22_15-45-49.png

Once connected I clicked into the system tools, into the task schedule, and then created a new basic task.  I should have first reviewed the existing set of tasks (so as to make sure I didn't already have one defined for this task), but I'll skip that for now.  

2017-09-22_15-45-49.png

First I enter a name (using whatever naming pattern the environment requires, remembering this is on the server and not local) and then provide a reasonable description.  

Task Scheduling Wizard - Name and Description

Task Scheduling Wizard - Name and Description

A setting of daily is sufficient for my frequency...

Task Scheduling Wizard - Trigger Settings

Task Scheduling Wizard - Trigger Settings

I adjusted the time of the day and then clicked next...

2017-09-22_15-45-49.png

Since I couldn't change the action type, I clicked Next right past the "action type" selection wizard page (not shown here).  I then clicked browse and navigated to the TRIMDataPort.exe file located in the Content Manager installation directory.  This works for me because I've got DataPort installed in the exact same location on both my workstation and server.  

Task Scheduling Wizard - Action Program Settings

Task Scheduling Wizard - Action Program Settings

For the of the program I used the following value:

"\\wg1.cmramble.local\dataPort\samhsa\florida facilities.dpproj"

This is a share I created off my workgroup server.  It holds my data port project, the project's Json configuration source, and a logging folder.  Once everything's entered, I clicked Next and double-checked everything on the final wizard step. I need to make sure this executes with the appropriate identity and permissions, so I also checked the box towards the bottom before clicking Finish.

Task Scheduling Wizard - Finish

Task Scheduling Wizard - Finish

This brings up the advanced properties of the task just created by the wizard.  The wizard sets the security options to "Run only when user is logged on", which I will change to "Run whether a user is logged on or not" and I also check "Run with highest privileges".  After clicking OK I have to enter my user name/password again.

Task Properties - Security Options and Credentials

Task Properties - Security Options and Credentials

My Json data source will now be imported every day at 8pm.  Next I need to get my web interface running so I can see these boxes, add the map, and determine how best to scour for electronic records.