https://github.com/innerlee/runner
job runner
https://github.com/innerlee/runner
Last synced: 4 months ago
JSON representation
job runner
- Host: GitHub
- URL: https://github.com/innerlee/runner
- Owner: innerlee
- License: mit
- Created: 2018-03-20T02:39:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T04:56:45.000Z (about 7 years ago)
- Last Synced: 2025-10-20T00:20:08.907Z (8 months ago)
- Language: Julia
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# job runner
gpu job schedule via file system.
0. do some cleaning work
1. if there is a free gpu, and a running job file marked that gpu, then remark the file as `[{$GPU}UNKNOWN{$TIME}]`
1. when there is a free gpu
2. pick a job file (shell script) in `jobs/queue/`
3. move the job under `jobs/` and mark as `[{$GPU}RUN{$TIME}]`
1. do a backup `[{$GPU}BK{$TIME}]`
4. start that job and redirect output to job's log file
5. if fail, or exception raised, mark the job as `[{$GPU}ERROR{$TIME}]`
6. if success, mark as `[DONE{$TIME}]`, and move job file and log file to `jobs/done/`