[944daf]: / test.py

Download this file

28 lines (20 with data), 647 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/python !/usr/bin/env python
# -*- coding: utf-8 -*
# !!!!!!!!! FIRST CONFIGURE SETTINGS.YAML TO MATCH YOUR NEEDS !!!!!!!!!!
# Simple script to run the Pipeline Wrapper,
import logging
from tasks import taskCoordinator
from config import settings
#logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(message)s')
logging.basicConfig(
level=logging.DEBUG,
format="%(asctime)s - %(message)s",
handlers=[
logging.FileHandler("%s" % settings['log_path']),
logging.StreamHandler()
])
TaskManager = taskCoordinator()
TaskManager.print_pipeline()
#TaskManager.run()
TaskManager.run()
exit(1)