diff --git a/README.rst b/README.rst index 4beeafaf..2888e662 100644 --- a/README.rst +++ b/README.rst @@ -121,11 +121,11 @@ Here is an example: } } -Like you can see, pipelines are defined by jobs. Usually, a function represents a job. You can define as many jobs in your pipeline as you want. +As you can see, pipelines are defined by jobs, and functions usually represent jobs. You can define as many jobs in your pipeline as you want. At the end, we define a jobs array that populates all jobs to gaia. We also add some information like a title, a description and the priority. -The priority is really important and should always be used. If, for example, job A has a higher priority (decimal number) as job B, job A will be executed **after** job B. Priority defines therefore the order of execution. If two or more jobs have the same priority, those will be executed simultanously. You can compare it with the `Unix nice level`_. +The priority is really important and should always be used. If, for example, job A has a higher priority (decimal number) than job B, A will be executed **after** B. Priority defines therefore the order of execution. If two or more jobs have the same priority, those will be executed simultanously. You can compare it with the `Unix nice level`_. That's it! Put this code into a git repository and create a new pipeline via the gaia UI. Gaia will compile it and add it to it's store for later execution.