mirror of
https://github.com/DeveloLongScript/MHSF.git
synced 2026-05-07 16:05:00 -05:00
inngest will only run when the cron job is done
This commit is contained in:
parent
f5c9e78443
commit
14c43b89d5
@ -17,7 +17,7 @@ export default serve({
|
||||
functions: [
|
||||
inngest.createFunction(
|
||||
{ id: "every-60-min" },
|
||||
[{ cron: "*/30 * * * *" }, { event: "every-60-min" }],
|
||||
[{ cron: "*/30 * * * *" }],
|
||||
async ({ event, step }) => {
|
||||
const mongo = new MongoClient(process.env.MONGO_DB as string);
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user