8000 `scheduledTasks` + `cloudflare.deployConfig` should populate cron triggers config · Issue #3214 · nitrojs/nitro · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 /div>

scheduledTasks + cloudflare.deployConfig should populate cron triggers config #3214

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
mathix420 opened this issue Mar 11, 2025 · 0 comments
Open
1 task done
Labels
enhancement New feature or request preset:cloudflare

Comments

@mathix420
Copy link
mathix420 commented Mar 11, 2025

Describe the feature

What I have to do now:

export default defineNitroConfig({
  compatibilityDate: "2025-03-05",
  preset: "cloudflare_module",

  experimental: {
    tasks: true,
  },

  cloudflare: {
    deployConfig: true,
    wrangler: {
      triggers: {
        crons: ['*/15 * * * *', '45 10 * * 2-6']
      }
    }
  },

  scheduledTasks: {
    "*/15 * * * *": ["task1"],
    "45 10 * * 2-6": ["task2"],
  },
});

Expected config:

export default defineNitroConfig({
  compatibilityDate: "2025-03-05",
  preset: "cloudflare_module",

  experimental: {
    tasks: true,
  },

  cloudflare: {
    deployConfig: true,
  },

  scheduledTasks: {
    "*/15 * * * *": ["task1"],
    "45 10 * * 2-6": ["task2"],
  },
});

Additional information

  • Would you be willing to help implement this feature?
@mathix420 mathix420 changed the title scheduledTasks + cloudflare.deployConfig should propagate cron triggers config scheduledTasks + cloudflare.deployConfig should propagate cron triggers config Mar 11, 2025
@mathix420 mathix420 changed the title scheduledTasks + cloudflare.deployConfig should propagate cron triggers config scheduledTasks + cloudflare.deployConfig should propagate cron triggers config Mar 11, 2025
@mathix420 mathix420 changed the title scheduledTasks + cloudflare.deployConfig should propagate cron triggers config scheduledTasks + cloudflare.deployConfig should populate cron triggers config Mar 11, 2025
@pi0 pi0 added enhancement New feature or request preset:cloudflare and removed pending triage labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preset:cloudflare
Projects
None yet
Development

No branches or pull requests

2 participants
0