# Running a Task

## Date/Time

In the previous step, we chose a start date and time for the task to begin.&#x20;

<div align="left"><img src="/files/-MQ3fm86OUClIrHhGWpr" alt=""></div>

{% hint style="info" %}
Reminder: If you want the task to begin immediately, do not adjust any of the date/time settings.
{% endhint %}

### <img src="/files/-MQ3eSOCTb_aa5YgX2af" alt="" data-size="line"> Update Task

Also, in the previous step we saw Clicking the **Update Task Button** will start/schedule the task.&#x20;

If you need to make an adjustment to an active task, make your necessary changes and click the update task button. It will only make the changes for the current task you selected.

## Status

When the the task begins the bot will display a series of outputs displaying what is taking place during the checkout process. During a proper task operation you will see *Waking up, Prepping, Here we go, In site, Carting, Submitting Shipping, Checked out*

<div align="left"><img src="/files/-MQ3nBSxCH22GRaP6rOc" alt=""></div>

{% hint style="info" %}
Any errors will also be displayed under Status
{% endhint %}

### Mode 1

When Mode 1 is selected, you will see a chrome browser display in your task bar. This is completely normal. That is the browser attempting to search/checkout the item. Do Not Close this browser.&#x20;

<div align="left"><img src="/files/-MQ3om1scjt6B_ImU3al" alt=""></div>

{% hint style="danger" %}
Closing the browser in the task bar will stop the task
{% endhint %}

### Mode 2

When Mode 2 is selected, you will be operating with a headless browser. The feedback shown in Status will identify where that task is currently at. There will not be a browser shown in the task bar.


---

# 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://sneakerninja.gitbook.io/snb/operations/running-a-task.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.
