Project

General

Profile

Support #5283

Plots: Ana webplot updates need to be made better to avoid cronjob collisions

Added by Michael Baird almost 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
High
Assignee:
-
Start date:
01/29/2014
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Currently, we have ONE root macro that contains 9 functions (for the combinations of all 3 detectors and all 3 update time periods {day, week, month}) This macro is being compiled to run at maximum speed. The problem is that we want to update the 24 hr plots (for each detector) every 10 minutes, the week plots every hour, and the month plots every day. This causes too many collisions between each of these cron jobs trying to compile and run the same root macro and causes the jobs to fail.

There are two solutions here that I am trying to avoid:

1) Strip out each of these 9 functions and put them into a separate root macro so that there are no collisions since each one will be compiled separately.
2) Don't compile the root macro before running it. This will require some drastic changes to the way these 9 functions are run. That is, there will have to be ONE function that is passed 2 arguments detector type and time period so that it can figure out what to do.

History

#1 Updated by Michael Baird over 5 years ago

  • Subject changed from Ana webplot updates need to be made better to avoid cronjob collisions to Plots: Ana webplot updates need to be made better to avoid cronjob collisions


Also available in: Atom PDF