Is there any way to manually trigger a scheduled function and/or a Firestore trigger function? I have two scenarios I need to solve:
Functions menu item from the left sidebar... menu at the right side of the cron jobView in Cloud Scheduler menu item... menu at the right side of the cron jobForce run menu itemYou can run a firestore scheduled function via the FirebaseTools and running it locally. Starting the shell command eg npm run build && firebase functions:shell will allow you to invoke a Scheduled Function eg:
export const parseGarminHealthAPIActivityQueue = functions.region('europe-west2').runWith({
timeoutSeconds: TIMEOUT_IN_SECONDS,
memory: MEMORY
}).pubsub.schedule('every 10 minutes').onRun(async (context) => {
await parseQueueItems(ServiceNames.GarminHealthAPI);
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With