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
Copy file name to clipboardExpand all lines: pages/serverless-jobs/how-to/execute-complex-commands.mdx
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,22 +56,20 @@ Your file can now be passed to your Serverless Job as a secret reference.
56
56
57
57
5. Enter a name, select the desired region, and choose the smallest **resources** available.
58
58
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.
60
60
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:
64
62
```sh
65
63
bash /complex_command.sh start
66
64
```
67
65
68
-
9. Click **Create job** to finish.
66
+
8. Click **Create job** to finish.
69
67
70
-
You job is now ready to run at the specified schedule.
68
+
You job is now ready to run.
71
69
72
70
## Complex commands examples
73
71
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).
75
73
76
74
**Retrieve a specific field from the output using jq**
0 commit comments