I am using Azure WebJobs to clean records from my database 48 hours after I have added them. The WebJob is always listening onto a message queue (also on Azure) which will contain a message that specifies which record to delete.
I add record to the DB though my C# MVC application. I wish to use the Azure scheduler to push a message onto the Queue 48 hours after I have added the record. I can't seem to find a way how to schedule these tasks automatically through my MVC. Is this possible ? I have found ways to call an already configured scheduled job , but I need to create these jobs when I add the records, so that record specific information is passed to the scheduler body.