How to automate tasks in Azure Database for PostgreSQL server (Crontab seems not to work)

Pedro 1 Reputation point
2021-12-07T19:14:55.757+00:00

How to automate tasks in Azure Database for PostgreSQL server (Crontab seems not to work)
Hello all,

I need to automate the following process in my Azure Database for PostgreSQL server, but it seems my Crontab isn't working (like I don't have permission). Does anyone already face something like this? What would be a good workaround?

I have created scripts that would be run by cron. The scripts/tasks that I need to get done Daily are:

(All this I have scripts that are working for, I just included to help with clarification of the situation)

  1. Drop the current DB
  2. Download the new DB dump
  3. Extract the DB dump file
  4. Build the DB

Any way to automatize tasks in the Azure Database for PostgreSQL server ?

Azure Database for PostgreSQL
{count} votes