Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

refactor: change the hours when the quotes expire

Brad Barbin955fd85ff0ce
diff --git a/apps/carbon/app/trigger/expire-quotes.ts b/apps/carbon/app/trigger/expire-quotes.ts
index eb78c23fc6..35d3f112d7 100644
--- a/apps/carbon/app/trigger/expire-quotes.ts
+++ b/apps/carbon/app/trigger/expire-quotes.ts
@@ -14,8 +14,8 @@ const novu = new Novu(NOVU_SECRET_KEY!);
export const expireQuotes = schedules.task({
id: "expire-quotes",
- // Run at 9am, 2pm, and 7pm every day
- cron: "0 9,14,19 * * *",
+ // Run at 7am, 12pm, and 5pm every day
+ cron: "0 7,12,17 * * *",
run: async () => {
console.log(
`🕒 Quote Expiration Check Started: ${new Date().toISOString()}`