Skip to content

Commit

Permalink
Run function every 5 mins for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
navzam committed Aug 16, 2024
1 parent e300ec3 commit 9fc44b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { onSchedule } from "firebase-functions/v2/scheduler";
import * as logger from "firebase-functions/logger";

export const testFunction2 = onSchedule("every hour", async () => {
export const testFunction2 = onSchedule("every 5 mins", async () => {
logger.info("Hello functions 2!", { structuredData: true });
});

0 comments on commit 9fc44b8

Please sign in to comment.