Commit a1ddf97c authored by dasharatha.vamshi's avatar dasharatha.vamshi

cleanup

parent 7c80bbd8
......@@ -2,6 +2,10 @@
This utility can be used to display/delete the list of files which should be deleted in FTP as they are alredy processed
How to Run it:
1. To Command to get the list of all files in WPM folder or IO folder or MODBUS folder in FTP is:
a. python clean_up.py find
|Command|
|-------|
|python clean_up.py find|
2. To Command to Delete files in WPM folder or IO folder or MODBUS folder in FTP is:
b. python clean_up.py delete
|Command|
|-------|
|python clean_up.py delete|
......@@ -17,7 +17,7 @@ __console_handler = StreamHandler(sys.stdout)
__console_handler.setFormatter(__formatter)
logger.addHandler(__console_handler)
check_for_n_hours = int(os.environ.get('check_for_n_hours', default='60'))
check_for_n_hours = int(os.environ.get('check_for_n_hours', default='6'))
THREAD_POOL_LIMIT = os.environ.get("THREAD_POOL_LIMIT", default=10)
FTP_HOST = os.environ.get("FTP_HOST", default="hfe-ftp.ilens.io")
FTP_USER = os.environ.get("FTP_USER", default="ilenshero1")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment