Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

912 B
Raw Blame
---
title: 'Install'
tocVideo: miRQPbIJOuQ
---

Install the Supabase Cron Postgres Module to begin scheduling recurring Jobs.

<Tabs
  scrollable
  size="small"
  type="underlined"
  defaultActiveId="dashboard"
  queryGroup="database-method"
>
<TabPanel id="dashboard" label="Dashboard">

1. Go to the [Cron Postgres Module](/dashboard/project/_/integrations/cron/overview) under Integrations in the Dashboard.
2. Enable the `pg_cron` extension.

</TabPanel>
<TabPanel id="sql" label="SQL">

```sql
create extension pg_cron with schema pg_catalog;

grant usage on schema cron to postgres;
grant all privileges on all tables in schema cron to postgres;
```

</TabPanel>
</Tabs>

## Uninstall

Uninstall Supabase Cron by disabling the `pg_cron` extension:

```sql
drop extension if exists pg_cron;
```

<Admonition type="danger">

Disabling the `pg_cron` extension will permanently delete all Jobs.

</Admonition>