From fdf0c57b926e9468b82e98bed73e2c76f3b6fc5e Mon Sep 17 00:00:00 2001 From: "David Todd (c0de)" Date: Sat, 10 Mar 2018 22:54:02 -0600 Subject: [PATCH] Add a way to kill the process --- kill.sh | 1 + pushtest.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 kill.sh mode change 100644 => 100755 pushtest.py diff --git a/kill.sh b/kill.sh new file mode 100755 index 0000000..4014312 --- /dev/null +++ b/kill.sh @@ -0,0 +1 @@ +kill $(ps | grep python | cut -d ' ' -f 1) diff --git a/pushtest.py b/pushtest.py old mode 100644 new mode 100755 index 2935f27..a273c4e --- a/pushtest.py +++ b/pushtest.py @@ -16,7 +16,7 @@ updater = Updater(token=os.environ['telegram_token']) dispatcher = updater.dispatcher logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', - level=logging.DEBUG) + level=logging.INFO) ids = dict({})