# Scheduled Jobs

## **Setting up a Scheduled Job:**

Click on Scheduled jobs from Add Layer tab on Development layer.

<figure><img src="/files/NxVYFN51BJjTkajvEZDq" alt=""><figcaption><p>Select Scheduler</p></figcaption></figure>

Configure scheduler settings and save the schedule job. Scheduled jobs also allows the user to setup email notification to track the successful execution of tasks.

<figure><img src="/files/SBHS1bzJ0WE10wa7RGgL" alt=""><figcaption><p>Update Scheduler Settings</p></figcaption></figure>

Activate the Scheduler by Clicking Run Job

<figure><img src="/files/ZhiDcmJ5i0vipeOwEj1d" alt=""><figcaption><p>Edit Scheduled Job</p></figcaption></figure>

<figure><img src="/files/sxngWvoUItokvAX1gKWZ" alt=""><figcaption><p>Activate scheduled job layer.</p></figcaption></figure>

Once the scheduled job is activated it is read only. To edit blocks in scheduled layer - deactivate the job to get edit access.

## Check Scheduler Status:

Each scheduled job layer has a tracker that logs the details of each run. If any exception is hit or code error happens during a run on one of the blocks then the job fails. The Scheduled Job Run tracker can be used to identify and fix any errors that might occur.

<figure><img src="/files/CaiuuZmLxTSYugPh0jWk" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/tIFIXhsBT6zHheD1W52O" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zerve.ai/guide/notebook-view/scheduled-jobs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
