Skip to content

Commit

Permalink
Fix prod
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Nov 4, 2023
1 parent 996015e commit 0e94caa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
## Rails 7.1
Can we get rid of sassc??
Do we need dotenv rails?
Make the cron thingy use ruby so we don't need node in production

## Migration
* Monitoring
Expand Down
2 changes: 1 addition & 1 deletion cdk/lib/app-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export class AppStack extends cdk.Stack {
...commonAppImageOptions,
memoryLimitMiB: 512,
logging: ecs.LogDrivers.awsLogs({ streamPrefix: 'CronService' }),
command: ['node', 'cron-worker/index.js'],
command: ['bundle', 'exec', 'cron-worker/cron.rb'],
});
cronTaskDefinition.addToTaskRolePolicy(new iam.PolicyStatement({
actions: ['ses:SendEmail'],
Expand Down

0 comments on commit 0e94caa

Please sign in to comment.