SAP Knowledge Base Article - Public

2208467 - Update Background job settings so Background jobs can be run at any time of the day

Symptom

Background jobs can not be scheduled at any time during the day. By default LMS allows to run background jobs during 0 to 5 hours of the day.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

BACKGROUND JOB.jpg

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Access Learning Administration
  2. Schedule any background job. For example, Manage User Learning > Manage Assignments
  3. Select an option from the Add menus to assign Curriculum/Items/Programs etc to the Users
  4. Add more than 5 users and click on next step. (Provided LMS_ADMIN configuration file contains default configuration setting for onlineOperationMaxRecordsCount=5)
  5. Add the Curriculum/Items/Programs to be assigned to the Users
  6. Continue through the tool
  7. In the final step, to run the job immediately select "Run Job Now" button. You will get Validation error on the page that the Job cannot be run immediately.
  8. Schedule the job as Background Job. If default settings are present, the system will not allow you to schedule Background job at any time during day.

Cause

In LMS_ADMIN configuration file, there are default configurations present for Background job schedule time slots which restricts LMS Admins to schedule job at any time during day. It only allows to schedule background job during 0 to 5 hours of the day.

Resolution

  1. Access Learning Administration
  2. Go to System Administration -> Configuration -> System Configuration -> LMS_ADMIN
  3. Click on Edit.
  4. Please take backup of the current configuration file.
  5. Search for "allowableBackgroundJobTimeframes[XXXX].startHour". Here "XXXX" is day of the week, you can replace it by Monday, Tuesday, Wednesday, etc. Current configurations are set to allowableBackgroundJobTimeframes[Monday].startHour=0 Replace 0 by *. Please repeat this for all days of the week.
  6. Search for "allowableBackgroundJobTimeframes[Monday].endHour" .Here "XXXX" is day of the week, you can replace it by Monday, Tuesday, Wednesday, etc. Current configurations are set to allowableBackgroundJobTimeframes[Monday].endHour=5 Replace 5 by *. Please repeat this for all days of the week.
  7. Click on Apply changes.
  8. After making these changes, all admins will be able to schedule any background process at any point of time on any day of the week.

Keywords

Background Job, schedule, time slot, allowableBackgroundJobTimeframes,, LMS_aDMIN, validation, error, day, lms, sf , KBA , LOD-SF-LMS-BCJ , Assign (bulk), Add/ Delete Sub/ Cur, Revise, Import , How To

Product

SAP SuccessFactors Learning all versions