This makes the parsing of <always_run/> consistent with how <disabled/>
is handled.
Gabor
---
sched/start | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/sched/start b/sched/start
index 4f638bf..f0df8c4 100755
--- a/sched/start
+++ b/sched/start
@@ -123,6 +123,11 @@ def assign_task_defaults():
task.disabled = 1
else:
task.disabled = 0
+ always_run = task.__dict__.get('always_run')
+ if always_run and always_run != "0":
+ task.always_run = 1
+ else:
+ task.always_run = 0
for task in config.daemons:
host = task.__dict__.get('host')
if not host:
@@ -429,7 +434,7 @@ def run_tasks():
continue
if task.disabled:
continue
- if task.__dict__.get('always_run'):
+ if task.always_run:
run_task(task)
continue
if run_state.enabled:
--
1.6.4.3
--
---------------------------------------------------------
MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
---------------------------------------------------------
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.