You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Job Scheduler, responsible for scheduling, retrieving and deleting jobs.
12
+
- Job Service, receives the triggers for the scheduled jobs.
12
13
13
14
## Run all apps with multi-app run template file
14
15
15
-
This section shows how to run the applications using a [multi-app run template file](https://docs.dapr.io/developing-applications/local-development/multi-app-dapr-run/multi-app-overview/) with `dapr run -f .`. This enables to you test the interactions between multiple applications and will `schedule`, `run`, `get`, and `delete` jobs within a single process.
16
+
This section shows how to run both applications at once using a [multi-app run template file](https://docs.dapr.io/developing-applications/local-development/multi-app-dapr-run/multi-app-overview/) with `dapr run -f .`. This enables to you test the interactions between multiple applications and will `schedule`, `run`, `get`, and `delete` jobs within a single process.
16
17
17
18
1. Build the apps:
18
19
19
20
<!-- STEP
20
-
name: Build dependencies for job-scheduler
21
+
name: Build dependencies for job-service
21
22
sleep: 1
22
23
-->
23
24
24
25
```bash
25
-
cd ./job-scheduler
26
+
cd ./job-service
26
27
mvn clean install
27
28
cd ..
28
29
```
29
30
30
31
<!-- END_STEP -->
31
32
32
33
<!-- STEP
33
-
name: Build dependencies for job-service
34
+
name: Build dependencies for job-scheduler
34
35
sleep: 1
35
36
-->
36
37
37
38
```bash
38
-
cd ./job-service
39
+
cd ./job-scheduler
39
40
mvn clean install
40
41
cd ..
41
42
```
@@ -114,8 +115,6 @@ dapr stop -f .
114
115
115
116
## Run apps individually
116
117
117
-
### Schedule Jobs
118
-
119
118
1. Open a terminal and run the `job-service` app. Build the dependencies if you haven't already.
0 commit comments