Can Firebase/Parse run code at a certain time every day?

前端 未结 2 1468
时光取名叫无心
时光取名叫无心 2021-01-13 18:35

Is it possible on Firebase or Parse to set up something kinda like a cron job? Is there a way to set up some sort of timed operation that runs over the stored user data?

2条回答
  •  旧巷少年郎
    2021-01-13 18:56

    Just to confirm about Firebase:

    As @rickerbh said, it can be done with Parse, but currently there is no way for you to run your code on Firebase's server. There are 2 options for you 2 solve this:

    1. You could use Firebase Queue and run your code in Node.js
    2. You could use a different library such as Microsoft Azure (I still haven't tried this yet, I'm not sure if it provides Job Scheduling for Android)

    However, Firebase is working on something called Firebase Trigger, which will solve our problem, however it is still not released with no confirmed release date.

提交回复
热议问题