- tweak to start

svn path=/trunk/boinc/; revision=19201
This commit is contained in:
David Anderson 2009-09-28 16:19:20 +00:00
parent 3e5aa9834c
commit 8e51669769
3 changed files with 14 additions and 2 deletions

View File

@ -8222,3 +8222,10 @@ Rom 28 Sept 2009
client/
hostinfo_win.cpp
David 28 Sept 2009
- tweak to start
html/inc/
user.inc
sched/
start

View File

@ -224,7 +224,7 @@ function show_user_info_private($user) {
"<a href=\"edit_forum_preferences_form.php\">".tra("Community preferences")."</a>"
);
if (!no_computing()) {
row2(tra("Resource share and graphics"),
row2(tra("Preferences for this project"),
"<a href=\"prefs.php?subset=project\">".tra("%1 preferences", PROJECT)."</a>"
);
}

View File

@ -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: