Home / Function/ formatScheduleString() — supabase Function Reference

formatScheduleString() — supabase Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  922453d5_7a37_7b75_101a_ce1bb8b9b79f["formatScheduleString()"]
  449db5e2_4110_a6b4_0fbd_4a79211a5b8f["CronJobScheduleSection()"]
  449db5e2_4110_a6b4_0fbd_4a79211a5b8f -->|calls| 922453d5_7a37_7b75_101a_ce1bb8b9b79f
  style 922453d5_7a37_7b75_101a_ce1bb8b9b79f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/studio/components/interfaces/Integrations/CronJobs/CronJobs.utils.tsx lines 213–223

export const formatScheduleString = (value: string) => {
  try {
    if (secondsPattern.test(value)) {
      return value
    } else {
      return CronToString(value)
    }
  } catch (error) {
    return ''
  }
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free