Usage Of Task Manager - Yicong-Huang/Wildfires GitHub Wiki
Start Task Manager:
-
Run the
task_manager.py
scriptlogger.addHandler(logging.StreamHandler())
Comment this line in the main function it you don't want the log information to be printed on the screen.
-
Enter the task number you'd like to run,
[k]
to kill a thread,[q]
to quit the task manager and[r]
to reload newly added task options(just like refreshing). Follow the instructions and type in the correct numbers (put inenter
to use the default settings of parameters)
-
Run a task normally
The selected task is now running and you can see that the number behind that task has increased by 1 which means there is a task of this kind running
-
Run several tasks at the same time
Our task manager supports user to run several tasks at the same time.
You can either run different tasks or run the same kind of task several times.
-
Kill a running task
If the task is already killed or you just type in something irrelevant, the killing part will be skipped
(e.g.
enter
is typed in) -
Quit the task manager