Skip to content

Commit 0539094

Browse files
authored
docs(srv): fix typo on serverless jobs pages (#5165)
1 parent 4c3a5b0 commit 0539094

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

pages/serverless-jobs/how-to/automate-resources-management.mdx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ categories:
1010
- developer-tools
1111
- jobs
1212
dates:
13-
validation: 2025-06-13
13+
validation: 2025-06-23
1414
posted: 2025-06-13
1515
---
16+
1617
[Scaleway Serverless Jobs](/serverless-jobs/quickstart/) allows you to create and automate recurring tasks. This page shows how to create jobs to perform any operation available with the [Scaleway CLI](https://github.com/scaleway/scaleway-cli/blob/master/docs/commands/config.md) to automate the management of your Scaleway resources.
1718

1819
Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not need autoscaling or exposure via a web server. Refer to the [documentation on differences between jobs, containers, and functions](/serverless-jobs/reference-content/difference-jobs-functions-containers/) for more information.
@@ -55,18 +56,18 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
5556
- **Power on and off Instances**
5657
```sh
5758
# Power on
58-
scw instance server start 11111111-1111-1111-1111-111111111111
59+
/scw instance server start 11111111-1111-1111-1111-111111111111
5960

6061
# Power off
61-
scw instance server stop 11111111-1111-1111-1111-111111111111
62+
/scw instance server stop 11111111-1111-1111-1111-111111111111
6263
```
6364
- **Create a snapshot of an Instance volume**
6465
```sh
65-
scw instance snapshot create volume-id=11111111-1111-1111-1111-111111111111
66+
/scw instance snapshot create volume-id=11111111-1111-1111-1111-111111111111
6667
```
6768
- **Create a backup of an Instance**
6869
```sh
69-
scw instance server backup 11111111-1111-1111-1111-111111111111
70+
/scw instance server backup 11111111-1111-1111-1111-111111111111
7071
```
7172
10. Click **Create job**.
7273

@@ -76,4 +77,4 @@ Your Serverless Job will run the command periodically according to the [cron sch
7677

7778
From the **Overview** tab of the Serverless job you just created, click **Actions**, then select **Run job** from the contextual menu.
7879

79-
The execution appears in the **Job runs** section. You can access the logs of your job by clicking <Icon name="more" /> next to the job run ID, and selecting **See on Cockpit**.
80+
The execution appears in the **Job runs** section. You can access the logs of your job by clicking <Icon name="more" /> next to the job run ID, and selecting **See on Cockpit**.

tutorials/power-on-off-instances-jobs/index.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ categories:
1010
- instances
1111
- jobs
1212
dates:
13-
validation: 2025-06-09
13+
validation: 2025-06-23
1414
posted: 2025-06-09
1515
---
16+
1617
[Scaleway Serverless Jobs](/serverless-jobs/quickstart/) allows you to create and automate recurring tasks. This tutorial will guide you through the process of powering a [Scaleway Instance](/instances/quickstart/) on and off, on a recurring schedule using a Serverless Job.
1718

1819
Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not need autoscaling or exposure via a web server. Refer to the [documentation on differences between jobs, containers, and functions](/serverless-jobs/reference-content/difference-jobs-functions-containers/) for more information.
@@ -57,7 +58,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
5758
9. In the **Execution** tab, define the command below, and replace the placeholder with the ID of your Instance:
5859

5960
```
60-
scw instance server start 11111111-1111-1111-1111-111111111111
61+
/scw instance server start 11111111-1111-1111-1111-111111111111
6162
```
6263

6364
10. Click **Create job**.
@@ -94,7 +95,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
9495
9. In the **Execution** tab, define the command below, and replace the placeholder with the ID of your Instance:
9596

9697
```sh
97-
scw instance server stop 11111111-1111-1111-1111-111111111111
98+
/scw instance server stop 11111111-1111-1111-1111-111111111111
9899
```
99100

100101
10. Click **Create job**.
@@ -120,4 +121,4 @@ This tutorial is a lightweight example of how to manage the power cycle of an In
120121
- [Serverless Jobs Documentation](/serverless-jobs/how-to/create-job/)
121122
- [Other methods to deploy Jobs](/serverless-jobs/reference-content/deploy-job/)
122123
- [API keys documentation](/iam/how-to/create-api-keys/)
123-
- [CRON schedule reference](/serverless-jobs/reference-content/cron-schedules/)
124+
- [CRON schedule reference](/serverless-jobs/reference-content/cron-schedules/)

0 commit comments

Comments
 (0)