DirectoryEasy
  • Non-developers
    • Setting Up Your Development Environment
    • Setting Up GitHub
    • Vercel Deployment
    • Domain Setup
  • Developers
    • Get Started
    • Configuration
      • Main
      • Database
      • Sections and categories
      • Emails
        • Cron Jobs
      • Claudinary
      • Upstash Redis
      • OAuth with Google and GitHub
      • Google Analytics Api
      • Stripe
        • API keys
        • Stripe Webhook
      • AI
    • Landing page
      • Header
Powered by GitBook
On this page
  1. Developers
  2. Configuration
  3. Emails

Cron Jobs

To trigger automated emails set up in our email marketing system, we use the free service provided by cron-job.org .

It’s very easy to set up.

  1. Create an Account

    • Visit cron-job.org.

    • Sign up using your email, or log in if you already have an account.

  2. Add a New Cron Job

    • After logging in, go to your dashboard.

    • Click on "Create Cron Job" to set up a new task.

  3. Configure Your Cron Job

    • URL: Enter the URL to be triggered, in our case: https://yourdomain.com/api/cron/send-campaign-emails

    • Schedule: Select how often the cron job should run (e.g., every minute, hour, or day).

  4. Save the Cron Job

    • Review your settings to ensure everything is correct.

    • Click "Save" to activate your cron job.


PreviousEmailsNextClaudinary

Last updated 4 months ago