'Google Cloud Platform - Django - Scheduled task to remove expired data

I have a Django application connected to Cloud Run at Google Cloud Platform. I am in need to schedule a task to run everyday. The task should go through a table in the database and remove rows that exceed todays date.

I have looked in to Cloud functions, however, when I try to create one, it appears to only support Flask, and not Django.

Any ideas on how to precede to make this scheduled function and access the database?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source