Is there a way to run a script that will still have access/context of the cloudflare bindings
Is there a way to run a script that will still have access/context of the cloudflare bindings

wrangler dev?

database_id and preview_database_id in wrangler.toml file? async scheduled(event, env, ctx) {
ctx.waitUntil(doSomeTaskOnASchedule(env, ctx));
ctx.waitUntil(theOtherTask(env, ctx));
}