summary refs log tree commit diff
path: root/issues/gn-libs/jobs-allow-job-cascades.gmi
blob: f659f32799c52d40b3ea5e1d603c7c517754ca4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Jobs: Allow Job Cascades

## Tags

* status: open
* priority: medium
* type: enhancement
* assigned: fredm, zsloan
* keywords: gn-libs, genenetwork, async jobs, asynchronous jobs, background jobs

## Description

Some jobs could require more than a single command/script to be run to complete.

Rather than refactoring/rewriting the entire "async jobs" feature, I propose adding a way to note who started a job, i.e.
* the user, OR
* another job

This could be tracked in an extra field in the database, say "started_by" which can have values of the form
* "user:<user-id>"
* "job:<job-id>"
where the parts in the angle bracket (i.e. "<user-id>" and "<job-id>") are replaced by actual ids.

## Related Issues

=> /issues/gn-libs/jobs-track-who-jobs-belong-to