Easylib

Easylib Help

Entire Automation System for Libraries

E-Mail: info@easylibsoft.com

Website: https://easylib.net

Batch Processing

1. Overview

The Batch Processing module in EasyLib allows administrators to run automated background jobs that perform routine library system tasks. These tasks include calculating fines, sending alerts, refreshing reporting tables, and processing notifications such as email and SMS.

Batch jobs can be:

  1. Scheduled (run automatically at a fixed interval)
  2. On-demand (run manually when required)

This helps reduce manual work and ensures important operations run regularly.

2. Accessing Batch Processing

Navigate to:

EasyLib ? BatchELBVJO ? Batch Details

The page displays all configured batch jobs with the following options:

  1. View Jobs
  2. View Schedules
  3. Solr Data Import
  4. Add Job

3. Batch Jobs List

The Batch Details table contains the following columns:

Field Description
Job Id Unique identifier for each batch job
Job Name Name of the batch process
Job Description Purpose of the job
File Name Script file executed for the job
Report File Output report generated
Emails Email recipients for notifications
Sub System Id Related subsystem
Status Active / Inactive
Owner Id Owner of the job
Added Date Job creation date
Preferred Schedule Frequency (Daily / OnDemand)
Action Modify / Run / Delete options

4. Common Batch Jobs in EasyLib

4.1 Fine Calculation

Purpose

Calculates overdue fines for students based on borrowed library items.

How it works

  1. Checks all issued books
  2. Compares due date with current date
  3. Calculates fine amount for overdue items
  4. Updates fine records in the system

Schedule

Usually configured as:

Daily

4.2 Due Alerts through Email

Purpose

Sends email reminders to students about items that are nearing their due date.

Benefits

  1. Reduces overdue returns
  2. Improves circulation efficiency
  3. Keeps users informed

Schedule

Daily

4.3 Refresh Transaction Denormalized Table (Refresh Trans Denorm)

Purpose

Updates the transaction denormalized table used for reports and statistics.

Function

  1. Loads latest circulation data
  2. Improves reporting speed
  3. Updates analytical dashboards

Schedule

OnDemand (or scheduled depending on system setup)

4.4 Process All SMS

Purpose

Processes all pending SMS messages from the SMS queue.

Function

  1. Reads pending SMS notifications
  2. Sends them to students
  3. Updates message status

Schedule

OnDemand or periodic execution.

4.5 Send Due Alerts through SMS

Purpose

Sends SMS reminders to students when borrowed items are approaching their due date.

Benefits

  1. Faster notification than email
  2. Improves timely returns

4.6 Send Reserve Alerts through SMS

Purpose

Notifies students via SMS when a reserved item becomes available for pickup.

4.7 Send Reserve Alerts through Email

Purpose

Sends email notification when reserved materials are ready for collection.

4.8 Send Daily Fine SMS

Purpose

Sends SMS notifications to students informing them about fines accumulated due to overdue books.

5. Batch Job Actions

Each job provides the following actions:

Modify

Edit the job configuration such as:

  1. Schedule
  2. Email recipients
  3. Script file
  4. Status

Run

Execute the job immediately.

Use this when:

  1. Testing the job
  2. Urgent processing required

Delete

Removes the batch job configuration from the system.

Note: Use cautiously because it permanently removes the job.

6. Scheduling Batch Jobs

Batch jobs can be scheduled using the Preferred Schedule field.

Common options:

Schedule Description
Daily Runs automatically every day
OnDemand Runs only when manually triggered
Weekly Runs once a week (if configured)
Monthly Runs once a month

7. Adding a New Batch Job

Steps:

  1. Click Add Job
  2. Enter the following details:
  3. Job Name
  4. Description
  5. Script File
  6. Email Recipients
  7. Schedule Type
  8. Set status to Active
  9. Save the job.

Schedule Management (View Schedules)

1. Overview

The Schedule Management module in EasyLib allows administrators to define when a batch job should run automatically.

Schedules are used to trigger batch jobs at a specific date and time, enabling tasks to run without manual intervention.

Typical uses include:

  1. Running reports automatically
  2. Sending alerts
  3. Updating statistics
  4. Processing system maintenance tasks

2. Accessing Schedule Management

Navigate to:

EasyLib ? BatchELBVJO ? View Schedules

This page displays all configured schedules for batch jobs.

You can also:

  1. Add Schedule
  2. Modify Schedule
  3. Delete Schedule

3. Schedule Table Fields

The View Schedules table contains the following columns:

Field Description
Schedule Id Unique identifier for the scheduled job
Job Name Name of the batch job to be executed
Schedule Run Date Date when the job is scheduled
Schedule Run Time Time when the job will execute
Action Options to modify or delete the schedule

4. Example Schedule

From the screen:

Schedule ID Job Name Run Date Run Time
2013 OPAC/EPAC visitor statistics report 18-Apr-2025 13:30

Purpose

This schedule runs the OPAC/EPAC visitor statistics report automatically at the defined date and time.

It helps administrators track:

  1. Library catalog usage
  2. OPAC search traffic
  3. Visitor activity statistics

5. Adding a New Schedule

Steps:

  1. Click Add Schedule
  2. Select the Job Name
  3. Choose the Run Date
  4. Set the Run Time
  5. Save the schedule

Once saved, the system will automatically trigger the job at the specified time.

6. Modify Schedule

To update an existing schedule:

  1. Click Modify
  2. Update:
  3. Job Name
  4. Run Date
  5. Run Time
  6. Save changes.

7. Delete Schedule

To remove a scheduled job:

  1. Click Delete
  2. Confirm deletion

The batch job will no longer run automatically.