This is a template showing running Cron Worker using a Container.
Outside of this repo, you can start a new project with this template using C3 (the create-cloudflare CLI):
npm create cloudflare@latest -- --template=mikenomitch/cron-containerFirst, run:
npm install # or yarn install # or pnpm install # or bun installYou can start editing your Worker by modifying src/index.ts and you can start editing your Container by editing the content of container_src.
| Command | Action |
|---|---|
npm run deploy | Deploy your application to Cloudflare |
To learn more about Containers, take a look at the following resources:
- Cron Triggers in Workers - learn about cron Workers
- Container Documentation - learn about Containers
- Beta Information - learn about the Containers Beta
- Container Class - learn about the Container helper class
Your feedback and contributions are welcome!