I'm attempting my first scheduled cloud function. To test, I'm trying to run it every 1 minute and will increase later.
I've deployed it but haven't yet seen it run via the Firebase Logs.
Here's what I've deployed:
const fetchMovies = require('./data/fetchMovies');
exports.fetchMovies = functions.pubsub.schedule('every 1 minute').onRun((context) => {
console.log("Running, with this context:", context)
fetchMovies.handler(db);
});
Any idea what may be incorrect here?