-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
39 lines (28 loc) · 1.37 KB
/
main.py
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
28
29
30
31
32
33
34
35
36
37
38
39
# ) ( )
# ( /( ( ( ) )\ ) ( ( ( ( ( /(
# ` ) )\()) ( ))\ ( )\ ( /( (()/( ( )\))( ( ( ( )( )\ ` ) )\())
# /(/( ((_)\ )\ /((_) )\ )((_) )\()) ((_)) )\ ((_)()\ )\ ) )\ )\(()\((_) /(/( (_))/
# ((_)_\ | |(_) ((_)(_)) _(_/( (_)((_)\ _| | ((_)_(()((_) _(_/( ((_) ((_)((_)(_)((_)_\ | |_
# | '_ \)| ' \ / _ \/ -_)| ' \))| |\ \ / / _` |/ _ \\ V V /| ' \)) (_-</ _|| '_|| || '_ \)| _|
# | .__/ |_||_|\___/\___||_||_| |_|/_\_\ \__,_|\___/ \_/\_/ |_||_| /__/\__||_| |_|| .__/ \__|
# |_|
# Author :
# +-+-+-+-+-+-+-+-+-+
# |I|A|m|T|e|r|r|o|r|
# +-+-+-+-+-+-+-+-+-+
########################################################################################################################
########################################################################################################################
# !/usr/bin/python
# -*- coding: utf-8 -*-
from mother_of_all_scripts import *
from alerts import *
logging.info(PD_SCRIPT_STARTING_MESSAGE)
try:
mother_of_all_scripts()
logging.info(PD_SCRIPT_ENDING_MESSAGE)
except Exception as e:
logging.error("The program ended unexpectedly !")
logging.error("Error: " + str(e))
logger_script()
alm = Alerts()
alm.run_script()