-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from felix5572/master
add doc for class Task
- Loading branch information
Showing
4 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
task: | ||
| type: ``dict`` | ||
| argument path: ``task`` | ||
command: | ||
| type: ``str`` | ||
| argument path: ``task/command`` | ||
A command to be executed of this task. The expected return code is 0. | ||
|
||
task_work_path: | ||
| type: ``str`` | ||
| argument path: ``task/task_work_path`` | ||
The dir where the command to be executed. | ||
|
||
forward_files: | ||
| type: ``list`` | ||
| argument path: ``task/forward_files`` | ||
The files to be uploaded in task_work_path before the task exectued. | ||
|
||
backward_files: | ||
| type: ``list`` | ||
| argument path: ``task/backward_files`` | ||
The files to be download to local_root in task_work_path after the task finished | ||
|
||
outlog: | ||
| type: ``NoneType`` | ``str`` | ||
| argument path: ``task/outlog`` | ||
The out log file name. redirect from stdout | ||
|
||
errlog: | ||
| type: ``NoneType`` | ``str`` | ||
| argument path: ``task/errlog`` | ||
The err log file name. redirect from stderr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters