> For the complete documentation index, see [llms.txt](https://sentineldocs.metatable.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sentineldocs.metatable.dev/information/using-sentinels-cron-jobs-to-automatically-unban-players-through-roblox-open-cloud-api.md).

# Using Sentinel's CRON Jobs to Automatically Unban Players Through Roblox Open Cloud API

Sentinel’s CRON Jobs feature allows users to automate the unbanning process for players without requiring other players to be actively in-game. By leveraging the Roblox Open Cloud API (OCAPI), you can streamline unban requests to ensure smooth and immediate execution, even when players are offline.

### Why Use CRON Jobs for Unbans?

Without CRON Jobs, **unbans will require players to join the game to trigger the unban process Luau Jobs**, which can delay resolution. Sentinel's CRON Jobs automate this task by utilizing the Roblox Open Cloud API, making unbans efficient and hassle-free.

***

## Prerequisites

1. **A Linked Roblox OCAPI Key**\
   Before setting up CRON Jobs, ensure you’ve created and bound an OCAPI key to your workspace. If you haven’t done this yet, follow the guide here:
   1. <https://sentineldocs.metatable.dev/getting-started/getting-started-with-sentinel/linking-an-experience#step-2-create-and-bind-an-open-cloud-api-key>

***

## Step-by-Step Guide

To enable CRON Jobs simply link a Roblox OCAPI key to your workspace with \`\`/bindapikey\`\`.

***

## Key Benefits of CRON-Based Unbans

1. **Offline Support**: Players do not need to be online for their bans to be lifted.
2. **Time Efficiency**: Automates repetitive tasks, freeing up moderation teams for other priorities.
3. **Seamless Integration**: Fully utilizes the Roblox Open Cloud API for a robust solution.

***

### Need Help?

If you encounter any issues while setting up CRON Jobs or linking your OCAPI key please contact Sentinel Support.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://sentineldocs.metatable.dev/information/using-sentinels-cron-jobs-to-automatically-unban-players-through-roblox-open-cloud-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
