Skip to content

Commit 795a5ad

Browse files
committed
move to web service because free tier
1 parent ec60bf5 commit 795a5ad

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

render.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
services:
2-
- type: cron
2+
- type: web
33
name: run-airdrop-script
44
env: node
55
numInstances: 1
6-
schedule: "*/4 * * * *"
7-
startCommand: npm install; npx prisma generate; npm run airdrop
6+
#schedule: "*/4 * * * *"
7+
#startCommand: npm install; npx prisma generate; npm run airdrop
8+
buildCommand: npm install; npx prisma generate
9+
startCommand: "bash -c 'while true;do npm run airdrop; sleep 120;done'"
810
envVars:
911
- key: HOLAPLEX_PROJECT_ID
1012
sync: false

0 commit comments

Comments
 (0)