1
1
# Submitty Student Auto Feed Script
2
2
Readme June 26, 2018
3
3
4
- These are code examples for any University to use as a basis to have student
5
- enrollment data added or updated.
4
+ This is a code example for any University to use as a basis to have student
5
+ enrollment data added or updated on an automated schedule .
6
6
7
- Instructions can be found at [ http://submitty.org/sysadmin/student\_auto\_feed ]
8
- (http://submitty.org/sysadmin/student_auto_feed )
7
+ Instructions can be found at [ http://submitty.org/sysadmin/student\_auto\_feed ] ( http://submitty.org/sysadmin/student_auto_feed )
9
8
10
9
### config.php
11
10
A series of define statements that is used to configure the auto feed script.
@@ -21,13 +20,13 @@ CSV file. Extra courses can exist in the data (such as a department wide CSV),
21
20
and any enrollments for courses not registered in Submitty are ignored.
22
21
23
22
Conceptually, a University's registrar and/or data warehouse will provide a
24
- regular data dump, uploaded somewhere as a CSV file. Then with the automatic
25
- uploads scheduled, a sysadmin should setup a cron job to regularly trigger this
26
- script to run sometime after the data dump is provided .
23
+ regularly scheduled data dump, uploaded somewhere as a CSV file. A sysadmin
24
+ should setup a cron job to regularly trigger this script to run when the CSV
25
+ file is available .
27
26
28
- This code does not need to be run specifically on the Submitty server, but it
29
- will need access to the Submitty "master" database and the enrollment CSV data
30
- file.
27
+ The auto feed script does not need to be run specifically on the Submitty
28
+ server, but it will need access to the Submitty "master" database and the
29
+ enrollment CSV data file.
31
30
32
31
---
33
32
@@ -56,6 +55,13 @@ will follow the pattern of TYY, where
56
55
57
56
---
58
57
58
+ WARNING: Student enrollment CSV files may contain private student
59
+ information that is protected by [ FERPA (20 U.S.C. § 1232g)] ( https://www2.ed.gov/policy/gen/guid/fpco/ferpa/index.html ) .
60
+ Please contact your school's IT dept. for advice on your school's data security
61
+ policies and practices.
62
+
63
+ ---
64
+
59
65
Requires at least PHP 5.6 with pgsql, iconv, and ssh2 extensions.
60
66
61
67
NOTE: Some modification of code may be necessary to work with your school's
0 commit comments