Skip to content

Commit e8fcce3

Browse files
committed
images
1 parent 979c245 commit e8fcce3

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed
23.8 KB
Loading
23.9 KB
Loading
27.8 KB
Loading

articles/app-service/quickstart-webjobs.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,33 +73,44 @@ php
7373

7474
:::image type="content" source="media/webjobs-create/add-webjob.png" alt-text="Screenshot that shows how to add a WebJob in an App Service app in the portal (scheduled WebJob).":::
7575

76-
1. Fill in the **Add WebJob** settings as specified in the table, then select **Create Webjob**.
76+
1. Fill in the **Add WebJob** settings as specified in the table, then select **Create Webjob**. For **File Upload**, be sure to select the .zip file you downloaded earlier in the [Download the sample WebJob](#download-the-sample-webjob) section.
7777

7878
:::image type="content" source="media/webjobs-create/configure-new-scheduled-webjob.png" alt-text="Screenshot that shows how to configure a scheduled WebJob in an App Service app.":::
7979

8080
| Setting | value | Description  |
8181
| ------------ | ----------------- | ------------ |
82-
| **Name** | myScheduledWebJob | A name that is unique within an App Service app. Must start with a letter or a number and must not contain special characters other than "-" and "_". |
83-
| **File Upload** | Python-webjob.zip | A *.zip* file that contains your executable or script file and any supporting files needed to run the program or script. The supported executable or script file types are listed in the supported file types section. |
84-
| **Type** | Scheduled | Specifies when the WebJob runs. Choose `Scheduled` to run based on a CRON expression. |
85-
| **Triggers** | Scheduled | Ensure Always On is enabled for the schedule to work reliably. This setting is available in Basic, Standard, and Premium tiers.|
82+
| **Name** | webjob | The WebJob name. Must start with a letter or a number and must not contain special characters other than "-" and "_". |
83+
| **File Upload** | App-Service-Python-WebJobs-Quickstart-Main.zip | The *.zip* file that contains your executable or script file. The supported file types are listed in the [supported file types](webjobs-create.md?tabs=windowscode#acceptablefiles) section. |
84+
| **Type** | Triggered | Specifies when the WebJob runs: Continuous or Triggered. |
85+
| **Triggers** | Scheduled | Scheduled or Manual. Ensure [Always on](configure-common.md?tabs=portal#configure-general-settings) is enabled for the schedule to work reliably.|
8686
| **CRON Expression** | 0 0/1 * * * * | For this quickstart, we use a schedule that runs every minute. See [CRON expressions](webjobs-create.md?tabs=windowscode#ncrontab-expressions) to learn more about the syntax. |
8787

8888
1. The new WebJob appears on the **WebJobs** page. If you see a message that says the WebJob was added, but you don't see it, select **Refresh**.
8989

90-
1. The scheduled WebJob is run at the schedule defined by the CRON expression. To run it manually at any time, right-click the WebJob in the list and select the **Run** button, then confirm your selection.
90+
1. The scheduled WebJob is run at the schedule defined by the CRON expression.
9191

9292
:::image type="content" source="media/webjobs-create/scheduled-webjob-run.png" alt-text="Screenshot that shows how to run a manually scheduled WebJob in the Azure portal.":::
9393

9494
[!INCLUDE [webjobs-cron-timezone-note](../../includes/webjobs-cron-timezone-note.md)]
9595

9696
## Review the WebJob logs
9797

98+
Select the log for the WebJob you created earlier.
99+
100+
:::image type="content" source="media/quickstart-webjobs/review-webjob-logs.png" alt-text="Screenshot that shows how to view WebJob logs in an App Service app in the portal (scheduled WebJob).":::
101+
102+
103+
The output should look similar to the following.
104+
:::image type="content" source="media/quickstart-webjobs/review-webjob-logs.png" alt-text="Screenshot that shows WebJobs log output.":::
105+
106+
98107

99108
## Clean up
100109

101110
To remove the WebJob, select the WebJob in the portal and select `Delete`.
102111

112+
:::image type="content" source="media/quickstart-webjobs/delete-webjob.png" alt-text="Screenshot showing how you can delete a WebJob in the portal.":::
113+
103114
## <a name="NextSteps"></a> Next steps
104115

105116
The Azure WebJobs SDK can be used with WebJobs to simplify many programming tasks. For more information, see [What is the WebJobs SDK](https://github.com/Azure/azure-webjobs-sdk/wiki).

0 commit comments

Comments
 (0)