If you wish to insert information into a database, instead of the saving the HTTP post requests from the deployed web service, you can instead directly execute the query statement.
You can then schedule this query by creating a job in the Scheduler server. There is a Retry Section when creating the job which you can enable to configure to retry the job if it fails. A better alternative would be, if you do know when the database is up, then you can set the Trigger Section to execute the job in a certain time of the day. This is configured using the crom expression.
You can refer to [Time-based Job Scheduling Section](https://community.denodo.com/docs/html/browse/7.0/scheduler/administration/creating_and_scheduling_jobs/configuring_new_jobs/time-based_job_scheduling_section#time-based-job-scheduling-section) of the Scheduler Administration Guide for more information.
Hope this helps!