I'm new to Firebase and now I'm trying to make a schedule function.
So I tried this one to see if the schedule function works.
exports.testSchedule = functions.pubsub
.schedule('*/1 * * * *') // every one minute.
.timeZone('America/New_York')
.onRun(async (context) => {
console.log("Hello world")
functions.logger.info("Hello world");
});
And I started Firebase emulator
firebase emulators:start
It seems like works properly. screenshot of terminal
Then I waited more than 10 mins but I could not see any log from console.log() or logger.info() Please let me know what's wrong with my code. Thank you.