Skip to content

Commit

Permalink
chore: add cron triggers to wrangler toml (#941)
Browse files Browse the repository at this point in the history
* chore: add cron triggers to wrangler toml

* Create clever-bats-attend.md
  • Loading branch information
ayuhito committed Feb 11, 2024
1 parent 0b94dd6 commit 4e666ae
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/clever-bats-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cdn": patch
"api": patch
---

chore: add cron triggers to wrangler toml
3 changes: 0 additions & 3 deletions api/cdn/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,5 @@ services = [
logpush = true
workers_dev = false

[triggers]
crons = ["0 0 * * *"]

[miniflare.mounts]
api = "../api/"
3 changes: 3 additions & 0 deletions api/metadata/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ r2_buckets = [

logpush = true
workers_dev = false

[triggers]
crons = ["0 0 * * *"]

0 comments on commit 4e666ae

Please sign in to comment.