brynq-sdk-task-scheduler 4.0.2__tar.gz → 4.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/PKG-INFO +1 -1
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler/task_scheduler.py +1 -1
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler.egg-info/PKG-INFO +1 -1
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler.egg-info/requires.txt +1 -2
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/setup.py +3 -4
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler/__init__.py +0 -0
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler.egg-info/SOURCES.txt +0 -0
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler.egg-info/dependency_links.txt +0 -0
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler.egg-info/not-zip-safe +0 -0
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/brynq_sdk_task_scheduler.egg-info/top_level.txt +0 -0
- {brynq_sdk_task_scheduler-4.0.2 → brynq_sdk_task_scheduler-4.0.4}/setup.cfg +0 -0
|
@@ -32,7 +32,7 @@ class TaskScheduler:
|
|
|
32
32
|
"""
|
|
33
33
|
# If the task is started via the task_scheduler, the following parameters will be passed by the scheduler.
|
|
34
34
|
# The distinction between local and non local is made because the scheduler usually sets the scheduler_log table entry and run_id. When running locally, the tasks will not log anything by default.
|
|
35
|
-
if any(flag in sys.argv[0].split('/') for flag in ['opt', 'home']):
|
|
35
|
+
if any(flag in sys.argv[0].split('/') for flag in ['opt', 'home', 'Users']):
|
|
36
36
|
self.started_local = True
|
|
37
37
|
self.run_id = int(round(time.time() * 100000))
|
|
38
38
|
self.task_id = None
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='brynq_sdk_task_scheduler',
|
|
5
|
-
version='4.0.
|
|
5
|
+
version='4.0.4',
|
|
6
6
|
description='Code to execute tasks in BrynQ.com with the task scheduler',
|
|
7
7
|
long_description='Code to execute tasks in the BrynQ.com platform with the task scheduler',
|
|
8
8
|
author='BrynQ',
|
|
@@ -13,8 +13,7 @@ setup(
|
|
|
13
13
|
'brynq-sdk-brynq>=4,<5',
|
|
14
14
|
'brynq-sdk-functions>=2,<3',
|
|
15
15
|
'brynq-sdk-mysql>=3,<4',
|
|
16
|
-
'brynq-sdk-mandrill>=2,<
|
|
17
|
-
'brynq-sdk-elastic>=3,<4'
|
|
16
|
+
'brynq-sdk-mandrill>=2,<4'
|
|
18
17
|
],
|
|
19
18
|
zip_safe=False,
|
|
20
|
-
)
|
|
19
|
+
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|