Update and enable the scheduler app

This commit is contained in:
Roberto Rosario
2012-09-11 12:58:09 -04:00
parent 99303d2f95
commit 66f451b23f
4 changed files with 24 additions and 5 deletions
-2
View File
@@ -4,7 +4,6 @@ import logging
import atexit
import sys
from project_tools.api import register_tool
from navigation.api import bind_links
from .links import scheduler_tool_link, scheduler_list, job_list
@@ -28,7 +27,6 @@ if any([command in sys.argv for command in SHUTDOWN_COMMANDS]):
# Prevent any new scheduler afterwards to start
LocalScheduler.lockdown()
register_tool(scheduler_tool_link)
atexit.register(schedule_shutdown_on_exit)
bind_links([LocalScheduler, 'scheduler_list', 'job_list'], scheduler_list, menu_name='secondary_menu')
bind_links([LocalScheduler], job_list)