Step 1: Open the specified web job’s folder (ex:Billing) and change the following connection strings in the *webjob.exe.config file (ex: Billing /CelloSaaS.BillingWebJob.exe.config).
Here ApplicationConnectionString, CelloSaaSConnectionString, BillingConnectionString, WorkflowConnectionString and EventAuditConnectionString are your web application database connection string.
*WebJobLogConnectionString (ex: billingWebJobLogConnectionString) ---> this connection is used to log your web job events and exceptions in specified database.
Note: Please use the CelloSaaS Exceptions.sql to create database to store the web job events and exceptions.
AzureWebJobsDashboard and AzureWebJobsStorage are your azure storage account details.
Step 2: Login to your Azure credentials and choose the website to host your specified web Job.
Step 3: Select all the files in your
*webjobs and zip the files.
Step 4: Click on Add button to add a new web job under your website. Choose the zip file and choose the Run Continuously as HOW TO RUN.
Step 4: Now you can see your web job added successfully in your website.
Step 5: To view the logs of the specified web jobs, you click on “LOGS” column of the specific web job, you can also see the same in CelloSaaS Exception DB at ExceptionLog table.