Node/delete-unused-accounts-cron/README.md
This sample demonstrates how to delete the accounts of users who have not signed-in in the last month.
See the file functions/index.js for the code.
Note: This function uses Cloud Scheduler, which can have associated costs. Your project must be on the Blaze payment plan as these features require billing information. See the Cloud Scheduler pricing page for more information.
The dependencies are listed in functions/package.json.
To set up the sample:
git clone https://github.com/firebase/functions-samplescd functions-samples/2nd-gen/delete-unused-accounts-cronfirebase use --add and follow the instructions.cd functions; npm install; cd -firebase deploy.