i'm using parse-server for my android application backend on my server. what i want to know is that is there anyway for scheduling a background job to called after a specific time? for example i want to delete an object after 12 hours since it's been created. the parse docs says that background jobs will be terminated after 15 minutes and cloud code functions will be terminated after 15 seconds. i can set an alarm manager in the client app to do that but it's not efficient and if the phone turns off or the user kills the app the alarm will go off.
so how can i create a job to delete the object after 12 hours without being terminated?
Aucun commentaire:
Enregistrer un commentaire