Skip to Content.
Sympa Menu

perfsonar-user - RE: [perfsonar-user] pScheduler - Schedule Horizon

Subject: perfSONAR User Q&A and Other Discussion

List archive

RE: [perfsonar-user] pScheduler - Schedule Horizon


Chronological Thread 
  • From: Andrew Lake <>
  • To: "" <>, "Contardo, Gianni Carlo" <>
  • Subject: RE: [perfsonar-user] pScheduler - Schedule Horizon
  • Date: Tue, 14 Nov 2023 19:55:10 +0100

pSConfig deletes any existing tasks (including the runs scheduled in the future) that don’t match the current specification in the JSON templates. That means if you remove or make a change to a test it will delete them. Likewise if you do a "psconfig remote delete URL” where URL is the URL to them template you don’t want to run tests from, it will clear out the existing tasks. You shouldn’t have to wait 24 hours even if you are making a lot of changes. Lastly, if you want to forcibly wipe the entire schedule via pscheduler directly, you can run “pscheduler internal reset”.

If you still want to change how far in the future pSConfig will create tasks, you can run the command "psconfig agentctl pscheduler task-min-ttl PT4H” on each box running pSConfig. I would not recommend doing that in production, especially if you are going to have tests spaced out further than 4 hours. 

Thanks,
Andy

On November 14, 2023 at 1:42:35 PM, Contardo, Gianni Carlo () wrote:

Our preference would be to have a shorter schedule horizon because we are still experimenting, and in certain instances we don’t want to wait 24 hours for the tasks to clear.

 

Thanks.

 

 

Gianni

 

 

 

From: Andrew Lake <>
Sent: Tuesday, November 14, 2023 10:33 AM
To: ; Contardo, Gianni Carlo <>
Subject: Re: [perfsonar-user] pScheduler - Schedule Horizon

 

Could you provide some more details on what you are trying to accomplish? There are some settings in pSConfig that do give you control over that, but I am not sure you actually want to do that. 

 

 

On November 14, 2023 at 12:32:27 PM, Contardo, Gianni Carlo () wrote:

Hello,

 

According to the documentation runs are scheduled  24 hours in advance by default.

 

https://docs.perfsonar.net/pscheduler_client_schedule.html

 

“Every time a task is created, one or more runs are scheduled. Runs are scheduled 24 hours in advance by default (this is known as the schedule horizon). This means that you can not only see what has run in the past and what is running in the present, but also exactly when pScheduler will attempt a run in the future.”

 

 

 

How do we change the default of 24 hours?  For example, what if we wanted 4 hours in advance?

 

 

Thank you.

 

 

Gianni

 

 

 

--
To unsubscribe from this list: https://lists.internet2.edu/sympa/signoff/perfsonar-user




Archive powered by MHonArc 2.6.24.

Top of Page