Home / Function/ buildCronQuery() — supabase Function Reference

buildCronQuery() — supabase Function Reference

Architecture documentation for the buildCronQuery() function in CronJobs.utils.tsx from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  d679b3b7_7935_242a_fa57_f88aa41e0fdb["buildCronQuery()"]
  09d0e98d_8f13_541f_895c_cd43cd0319fd["CreateCronJobSheet()"]
  09d0e98d_8f13_541f_895c_cd43cd0319fd -->|calls| d679b3b7_7935_242a_fa57_f88aa41e0fdb
  style d679b3b7_7935_242a_fa57_f88aa41e0fdb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx lines 10–13

export function buildCronQuery(name: string, schedule: string, command: string) {
  const escapedName = name.replace(/'/g, "''")
  return `select cron.schedule('${escapedName}', '${schedule}', ${command});`
}

Subdomains

Frequently Asked Questions

What does buildCronQuery() do?
buildCronQuery() is a function in the supabase codebase.
What calls buildCronQuery()?
buildCronQuery() is called by 1 function(s): CreateCronJobSheet.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free