-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automate processing data logger files from an FTP file
If you set the dataloggerfile description for a datalogger file to an FTP or HTTP file then a script will be generated to begin automatically checking the file once an hour for new values and will ingest them into the database.
- Loading branch information
Miguel Leon
committed
Apr 11, 2019
1 parent
4f75bc8
commit 464fec9
Showing
7 changed files
with
162 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
import os | ||
import sys | ||
|
||
# if __name__ == "__main__": | ||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "templatesAndSettings.settings.development") | ||
|
||
from django.core.management import execute_from_command_line | ||
|
||
execute_from_command_line(sys.argv) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.