# Option 1 - To add data to the database, based on time

## Option 1

#### Once the properties are added, click 'Create schedule'.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2F8WzJkwsMMOKhtKpcz1HL%2Fimage.png?alt=media&#x26;token=997ac6d2-6a9e-4384-972b-14160e54a642" alt=""><figcaption></figcaption></figure>

#### Add Schedule properties and click 'Create schedule.'

* Click on the 'CRON expressions' [link](https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-schedule-expression.html) to learn more about CRON syntax for assigning a required schedule.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FtEFUavwDoepssvSdJJZU%2Fimage.png?alt=media&#x26;token=d711a523-54a4-4667-8e3f-9ac68e1d0faf" alt=""><figcaption></figcaption></figure>

#### Click the 'Run' tab and then click 'Run job' to manually run the job; the database will be populated if the parquet files are already available in S3.

{% hint style="info" %}
**Note:**

* The database will be populated only if the parquet files are already available in S3; otherwise, there is no need to run the job manually.
  {% endhint %}

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2F0rxbWtytrJ5RAMoeq6Kn%2Fimage.png?alt=media&#x26;token=864d3021-c659-405f-9fc3-f75e93794202" alt=""><figcaption></figcaption></figure>

#### The run screen then displays the active status of the job.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2F4xkbBxh3EXaj39LZQ0Ls%2Fimage.png?alt=media&#x26;token=610585bc-6131-433f-b139-f1a21e55a8d8" alt=""><figcaption></figcaption></figure>

#### The job is successfully scheduled.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FXx1Uz66C6dl8iS71KPnY%2Fimage.png?alt=media&#x26;token=927f6db4-eff2-4740-8c40-c8b0df7ec31f" alt=""><figcaption></figcaption></figure>

#### The database details, along with the logger number, are displayed.

{% hint style="info" %}
**Note:**

* Happens only when the job is run manually after creation it will have to wait until the first run.
  {% endhint %}

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2Ftt6eWvvxTTMi9Kcd5xXq%2Fimage.png?alt=media&#x26;token=10a1c711-446c-4bf0-a41f-85999a40cff8" alt=""><figcaption></figcaption></figure>

#### Click on the logger serial number to get a detailed report.

<figure><img src="https://1612018018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTCRfbN5hBLeUzIaKHbJ7%2Fuploads%2FaPAGxmqc9q5bR2ldcR8g%2Fimage.png?alt=media&#x26;token=59d21806-7164-41b5-8c4f-b9fd45aec951" alt=""><figcaption></figcaption></figure>

[<mark style="color:blue;">**Setting a Grefana Dashboard using the Athena plugin**</mark>](https://docs.influxtechnology.com/support_guides/rexgen-series-product-manuals/rexgen-air-cloud-usage-guides/cloud-usage-guides-for-rexgen-air-device/setting-grafana-dashboard-with-parquet/setting-a-grafana-dashboard-using-the-athena-plugin)
