Skip to content

Commit 11733b8

Browse files
committed
docs(srv): update
1 parent 0a5d93d commit 11733b8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

pages/serverless-jobs/how-to/execute-complex-commands.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,20 @@ Your file can now be passed to your Serverless Job as a secret reference.
5656

5757
5. Enter a name, select the desired region, and choose the smallest **resources** available.
5858

59-
6. Enter a CRON schedule to run your job periodically. Refer to the [dedicated documentation](/serverless-jobs/reference-content/cron-schedules/) on CRON schedules.
59+
6. From the **Data** tab, add your command file as a [secrets reference](/serverless-functions/concepts/#secrets). Refer to the [dedicated documentation](/serverless-jobs/how-to/reference-secret-in-job/) on secrets for more information.
6060

61-
7. From the **Data** tab, add your command file as a [secrets reference](/serverless-functions/concepts/#secrets). Refer to the [dedicated documentation] on secrets for more information.
62-
63-
8. From the **Execution** tab, add the following startup command to call your file:
61+
7. From the **Execution** tab, add the following startup command to call your file:
6462
```sh
6563
bash /complex_command.sh start
6664
```
6765

68-
9. Click **Create job** to finish.
66+
8. Click **Create job** to finish.
6967

70-
You job is now ready to run at the specified schedule.
68+
You job is now ready to run.
7169

7270
## Complex commands examples
7371

74-
Below are examples of commands that must be passed via a secret referenced as a file in Serverless Jobs. You can find more complex commands examples on the [Scaleway CLI repository](/https://github.com/scaleway/scaleway-cli/blob/master/docs/cookbook.md).
72+
Below are examples of commands that must be passed via a secret referenced as a file in Serverless Jobs. You can find more complex command examples on the [Scaleway CLI repository](/https://github.com/scaleway/scaleway-cli/blob/master/docs/cookbook.md).
7573

7674
**Retrieve a specific field from the output using jq**
7775

0 commit comments

Comments
 (0)