def run_daily_tasks(): try: # analyze_data.delete_less_data_files_today() generate_index.generate_index() gen_all_avail_file.update_for_today() except: print ">>> Exception in Data Update <<<" print traceback.print_exc()
import sys sys.path.insert(0,"C:\Users\lokesh\WorkSpaces\Pycharm\IndianRail\Process_data") import analyze_data import gen_all_avail_file import generate_index analyze_data.delete_less_data_files_today() generate_index.generate_index() gen_all_avail_file.update_for_today()