Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions opensciencegrid/ospool-cm/opt/ospool/update-prios
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def step(n):

def main():
col = htcondor.Collector()
ext_hostname = os.environ.get("OSPOOL_EXT_HOSTNAME")

# find the right negotiator
neg_ad = None
Expand All @@ -43,9 +42,6 @@ def main():
if not neg_ad:
print("Unable to find the main negotiator")
sys.exit(1)
if ext_hostname not in neg_ad['Name']:
print(f"Not updating as the negotiator is running on {neg_ad['Name']}")
sys.exit(2)
neg = htcondor.Negotiator(neg_ad)
print(f"Updating negotiator {neg_ad['Name']}")

Expand Down
3 changes: 0 additions & 3 deletions opensciencegrid/ospool-cm/ospool.cron
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# logs
0 * * * * root /opt/ospool/retain-logs >/dev/null 2>&1

# prios
*/5 * * * * root /opt/ospool/update-prios >/dev/null 2>&1

# web interface (not used in CCB mode)
*/5 * * * * root cd /shared/web/overview && ./utils/cron-5m.sh >/dev/null 2>&1
0 * * * * root cd /shared/web/overview && ./utils/cron-hourly.sh >/dev/null 2>&1
Expand Down
Loading