LeadSquared Developer Centre

ON THIS PAGE

Batch Jobs Logs


The Logs section shows you the logs for each execution of the Batch Job. It gives you an overview of the last execution status, the schedule, the number of successful and failed runs today, and the total run-time for the day.

batch jobs logs

Column Name Description
Job Execution ID Unique identifier generated for each job execution.
Started On The date-time the job started on.
Execution Status Queued, In Progress, Success, Failed.
Runtime Total time (in seconds) the job has been running.
Execution Delay The delay between the scheduled time or the time the Batch Job API was called and the execution. Batch Jobs may have an execution delay of up to 15 mins.

You can filter the logs by execution status and started on options. The search option works across job executions, so for example, you can search for a lead Id across all job executions.

logs search

Click on a particular execution in the grid to view more details. Note that the search within a particular job execution details page will only display results within the selected execution.

LeadSquared Batch Jobs

 

Export Logs

To export logs to CSV for a specific batch job –

  1. Click the Job Execution Id.
  2. Click
  3. You’ll receive a link to download the CSV file on the email address associated with your LeadSquared account.

Note: The Export Logs option won’t be available when a batch job execution is Queued or In-Progress.

LeadSquared Batch Jobs

 

Terminate a Job Execution

You can terminate job executions that are Queued or In-Progress.

  1. Click the Job Execution Id link of the job you want to terminate.
  2. On the top-right of the page, click Terminate.
  3. Click Yes on the confirmation pop-up.
  4. You’ll see the status for that particular job execution changed to Failed. This may take a few seconds to reflect.
  5. Click the Job Execution Id link, you’ll see the message “Execution was Terminated”.

Terminate a Batch Job

 

Next Steps

Learn how to Audit Batch Jobs.

On this page

© 2022 by MarketXpander Services Pvt Ltd. All Rights Reserved.