RecordPoint.Import.ActiveQueueTimerJobs.ps1
This script imports schedules for Active Site Queue timer jobs from a CSV file.
A CSV file containing the current schedules may be generated using the script RecordPoint-Export-ActiveQueueTimerJobs.ps1
In the CSV file you will see one row for each timer job with the following columns:
WebApplication,JobName,JobId,ScheduleType,Interval,BeginDayOfWeek,EndDayOfWeek,BeginDay,EndDay,BeginMonth,EndMonth,BeginHour,BeginMinute,BeginSecond,EndHour,EndMinute,EndSecond
The first three columns identify the job and the SharePoint active site and should not be altered. The remaining columns specify the schedule to which the job will run and may be modified in accordance with the following schedule types. Any data provided that is not relevant to the selected schedule type will be ignored.
- Schedule Type: "Minutes"
This schedule will repeatedly run the job with a gap of a set number of minutes.
Interval: the number of minutes between each scheduled run of the job.
BeginSecond: the second during each scheduled minute after which the schedule must start.
EndSecond: the second during each scheduled minute after which the schedule must have started. - Schedule Type: "Hourly"
This schedule will run the job every hour.
BeginMinute: the minute during each hour after which the schedule must start.
EndMinute: the minute during each hour after which the schedule must start. - Schedule Type: "Daily"
This schedule will run the job once per day at the given time. Note: system local time.
BeginHour: The hour (in 24 hour notation) at which the job will begin.
BeginMinute: The minute of the selected hour at which the job will begin.
BeginSecond: the seconds of the selected hour at which the job will begin. - Schedule Type: "Weekly"
This schedule will run every week on the days specified in between the start and end times.
BeginDayOfWeek: The first day of the week on which the jobs will run. You must provide at least the first three characters of the name of the day.
EndDayOfWeek: The last day of the week on which the jobs will run. You must provide at least the first three characters of the name of the day.
BeginHour: The hour (in 24 hour notation) after which time the job will begin.
BeginMinute: The minute of the selected hour after which time the job will begin.
BeginSecond: the seconds of the selected hour after which time the job will begin.
EndHour: The hour (in 24 hour notation) by which time the job will have begun.
EndMinute: The minute of he selected hour by which time the job will have begun.
EndSecond: the seconds of the selected hour by which time the job will have begun. - Schedule Type: "Monthly"
This schedule will run every month on the day specified between the given times.
BeginDay: The day of the month on which the job will run. You can provided any value between 0 and 31 but RecordPoint recommends that you do not choose a value higher than 28.
BeginHour: The hour (in 24 hour notation) after which time the job will begin.
BeginMinute: The minute of the selected hour after which time the job will begin.
BeginSecond: the seconds of the selected hour after which time the job will begin.
How to run the script
- Open Windows PowerShell
- Run RecordPoint.Import.ActiveQueueTimerJobs.ps1 script
By default, this is located under C:\Program Files\RecordPoint\Scripts