SAP Knowledge Base Article - Public

2232736 - How to change Background Jobs schedule time range?

Symptom

When trying to schedule a Background Job in Learning, the following Validation error message is received:

"You must correct the following error(s) before proceeding:

  • The current time is outside the allowable timeframe(s) for background jobs. Please enter an allowable date/time. You can click the View Allowable Time Slots link for a list of acceptable date/times."

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

Environment

SAP SuccessFactors Learning

Cause

The issue is due to configuration under the LMS_ADMIN property file.

  1. Proceed to Learning Administration
  2. System Admin > Configuration > System Configuration
  3. Edit the LMS_ADMIN property file
  4. Search for "BACKGROUND JOB SETTINGS".
  5. Check the configuration below:

allowableBackgroundJobTimeframes[Monday].enabled=true
allowableBackgroundJobTimeframes[Monday].startMinute=*
allowableBackgroundJobTimeframes[Monday].startHour=0
allowableBackgroundJobTimeframes[Monday].startDate=*
allowableBackgroundJobTimeframes[Monday].startMonth=*
allowableBackgroundJobTimeframes[Monday].startYear=*
allowableBackgroundJobTimeframes[Monday].startDayofWeek=*
allowableBackgroundJobTimeframes[Monday].endMinute=*
allowableBackgroundJobTimeframes[Monday].endHour=5
allowableBackgroundJobTimeframes[Monday].endDate=*
allowableBackgroundJobTimeframes[Monday].endMonth=*
allowableBackgroundJobTimeframes[Monday].endYear=*
allowableBackgroundJobTimeframes[Monday].endDayofWeek=*
allowableBackgroundJobTimeframes[Tuesday].enabled=true
allowableBackgroundJobTimeframes[Tuesday].startMinute=*
allowableBackgroundJobTimeframes[Tuesday].startHour=0
allowableBackgroundJobTimeframes[Tuesday].startDate=*
allowableBackgroundJobTimeframes[Tuesday].startMonth=*
allowableBackgroundJobTimeframes[Tuesday].startYear=*
allowableBackgroundJobTimeframes[Tuesday].startDayofWeek=tue
allowableBackgroundJobTimeframes[Tuesday].endMinute=*
allowableBackgroundJobTimeframes[Tuesday].endHour=5
allowableBackgroundJobTimeframes[Tuesday].endDate=*
allowableBackgroundJobTimeframes[Tuesday].endMonth=*
allowableBackgroundJobTimeframes[Tuesday].endYear=*
allowableBackgroundJobTimeframes[Tuesday].endDayofWeek=tue
allowableBackgroundJobTimeframes[Wednesday].enabled=true
allowableBackgroundJobTimeframes[Wednesday].startMinute=*
allowableBackgroundJobTimeframes[Wednesday].startHour=0
allowableBackgroundJobTimeframes[Wednesday].startDate=*
allowableBackgroundJobTimeframes[Wednesday].startMonth=*
allowableBackgroundJobTimeframes[Wednesday].startYear=*
allowableBackgroundJobTimeframes[Wednesday].startDayofWeek=*
allowableBackgroundJobTimeframes[Wednesday].endMinute=*
allowableBackgroundJobTimeframes[Wednesday].endHour=5
allowableBackgroundJobTimeframes[Wednesday].endDate=*
allowableBackgroundJobTimeframes[Wednesday].endMonth=*
allowableBackgroundJobTimeframes[Wednesday].endYear=*
allowableBackgroundJobTimeframes[Wednesday].endDayofWeek=*
allowableBackgroundJobTimeframes[Thursday].enabled=true
allowableBackgroundJobTimeframes[Thursday].startMinute=*
allowableBackgroundJobTimeframes[Thursday].startHour=0
allowableBackgroundJobTimeframes[Thursday].startDate=*
allowableBackgroundJobTimeframes[Thursday].startMonth=*
allowableBackgroundJobTimeframes[Thursday].startYear=*
allowableBackgroundJobTimeframes[Thursday].startDayofWeek=*
allowableBackgroundJobTimeframes[Thursday].endMinute=*
allowableBackgroundJobTimeframes[Thursday].endHour=5
allowableBackgroundJobTimeframes[Thursday].endDate=*
allowableBackgroundJobTimeframes[Thursday].endMonth=*
allowableBackgroundJobTimeframes[Thursday].endYear=*
allowableBackgroundJobTimeframes[Thursday].endDayofWeek=*
allowableBackgroundJobTimeframes[Friday].enabled=true
allowableBackgroundJobTimeframes[Friday].startMinute=*
allowableBackgroundJobTimeframes[Friday].startHour=0
allowableBackgroundJobTimeframes[Friday].startDate=*
allowableBackgroundJobTimeframes[Friday].startMonth=*
allowableBackgroundJobTimeframes[Friday].startYear=*
allowableBackgroundJobTimeframes[Friday].startDayofWeek=*
allowableBackgroundJobTimeframes[Friday].endMinute=*
allowableBackgroundJobTimeframes[Friday].endHour=5
allowableBackgroundJobTimeframes[Friday].endDate=*
allowableBackgroundJobTimeframes[Friday].endMonth=*
allowableBackgroundJobTimeframes[Friday].endYear=*
allowableBackgroundJobTimeframes[Friday].endDayofWeek=*
allowableBackgroundJobTimeframes[Saturday].enabled=true
allowableBackgroundJobTimeframes[Saturday].startMinute=*
allowableBackgroundJobTimeframes[Saturday].startHour=0
allowableBackgroundJobTimeframes[Saturday].startDate=*
allowableBackgroundJobTimeframes[Saturday].startMonth=*
allowableBackgroundJobTimeframes[Saturday].startYear=*
allowableBackgroundJobTimeframes[Saturday].startDayofWeek=*
allowableBackgroundJobTimeframes[Saturday].endMinute=*
allowableBackgroundJobTimeframes[Saturday].endHour=5
allowableBackgroundJobTimeframes[Saturday].endDate=*
allowableBackgroundJobTimeframes[Saturday].endMonth=*
allowableBackgroundJobTimeframes[Saturday].endYear=*
allowableBackgroundJobTimeframes[Saturday].endDayofWeek=*
allowableBackgroundJobTimeframes[Sunday].enabled=true
allowableBackgroundJobTimeframes[Sunday].startMinute=*
allowableBackgroundJobTimeframes[Sunday].startHour=0
allowableBackgroundJobTimeframes[Sunday].startDate=*
allowableBackgroundJobTimeframes[Sunday].startMonth=*
allowableBackgroundJobTimeframes[Sunday].startYear=*
allowableBackgroundJobTimeframes[Sunday].startDayofWeek=*
allowableBackgroundJobTimeframes[Sunday].endMinute=*
allowableBackgroundJobTimeframes[Sunday].endHour=5
allowableBackgroundJobTimeframes[Sunday].endDate=*
allowableBackgroundJobTimeframes[Sunday].endMonth=*
allowableBackgroundJobTimeframes[Sunday].endYear=*
allowableBackgroundJobTimeframes[Sunday].endDayofWeek=*

 If you have anything other than * in these fields, it will limit you to schedule jobs out of the time range set.

Resolution

  1. Proceed to Learning Administration
  2. System Admin > Configuration > System Configuration
  3. Edit the LMS_ADMIN property file
  4. Search for "BACKGROUND JOB SETTINGS".
  5. Remove the numbers populated and add a * (i.e. allowableBackgroundJobTimeframes[Sunday].endHour=5 to allowableBackgroundJobTimeframes[Sunday].endHour=*)
  6. Apply Changes

Keywords

Background Jobs, Validation Error, View Allowable Time Slots, timeframe, unable to schedule, job, sf, lms , KBA , LOD-SF-LMS-BCJ , Assign (bulk), Add/ Delete Sub/ Cur, Revise, Import , LOD-SF-LMS-SER , Config. Consulting & Service Requests , How To

Product

SAP SuccessFactors Learning all versions