From dcb4bb8e279c48238dc26d492a20e75b9f91e741 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 16 Nov 2016 11:15:29 -0500 Subject: [PATCH] JBAS-1643 Teacher districts must be enabled Before the SFTP client will process a teacher account file, the district code must be added to a new TEACHER_DISTRICTS configuration list at the top of the file. Also, the SFTP client not skips any files not conforming to the correct csv file name convention. Signed-off-by: Bill Erickson --- .../import_students/sftp-client-agent.sh | 41 +++++++++++++++++----- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/KCLS/utility-scripts/import_students/sftp-client-agent.sh b/KCLS/utility-scripts/import_students/sftp-client-agent.sh index 8b5a523d60..4fe654ef8d 100755 --- a/KCLS/utility-scripts/import_students/sftp-client-agent.sh +++ b/KCLS/utility-scripts/import_students/sftp-client-agent.sh @@ -38,6 +38,12 @@ DISTRICT_CODES=( 417 # Northshore ); +# Hard-code the districts eligible for automatic teacher account processing. +TEACHER_DISTRICTS=( + 408 # Auburn + 415 # Kent +) + function usage { cat <