Configuring the time for when Scheduled Tasks will run

There are a number of tasks (including scheduled imports and exports, sending email notifications, and so forth) that PeopleFluent Learning LMS needs to run on a recurring schedule.

 

PeopleFluent Learning LMS runs recurring tasks according to one of the following schedules.

  • Hourly
  • Daily
  • Weekly
  • Monthly

image001.jpg

You can configure the hour of the day at which the daily and weekly tasks are run by setting the value of the system.handlerstarttime= property in the ekp.properties file.

 

The ekp.properties file is placed inside of WEB-INF/conf/ekp.properties.

 

The value of the hour used should be between 0 and 23.

 

(By default the daily and weekly tasks will run at 3am.)

 

e.g. setting the property to system.handlerstarttime=6 will run the daily and weekly scheduled tasks at 6 am.

 

You can configure the day of the week you would like the weekly tasks to be run by setting the value of the system.handlerStartDayOfWeek= property in the ekp.properties file.

 

The value of each day is defined below:

 

  1. – Sunday
  2. – Monday
  3. – Tuesday
  4. – Wednesday
  5. – Thursday
  6. – Friday
  7. – Saturday

 

e.g. setting the property to system.handlerStartDayOfWeek=3 will run the weekly tasks on Tuesday

 

The weekly tasks will run on the same hour defined in the property

system.handlerstarttime=

 

The Monthly tasks will always run on the first day of the month using the same hour defined in the property system.handlerstarttime=.

 

In order for the changes made in the ekp.properties file to apply, a TomCat server restart for the site will be required.

Was this article helpful?

0 out of 0 found this helpful