bugfixing

This commit is contained in:
MuslemRahimi 2025-01-05 10:49:34 +01:00
parent 68b5e22085
commit f924f20d71
2 changed files with 4 additions and 1 deletions

View File

@ -482,6 +482,9 @@ async def run():
analyst_list = await get_all_analyst_stats()
print('Number of analysts:', len(analyst_list))
if len(analyst_list) < 4000:
return
#Test Modes
#analyst_list = [ item for item in analyst_list if item['analystId'] =='5a02da51efacff00010633d2']

View File

@ -223,7 +223,7 @@ def run_executive():
def run_analyst_rating():
week = datetime.today().weekday()
if week <= 4:
if week <= 5:
run_command(["python3", "cron_analyst_insight.py"])
run_command(["python3", "cron_analyst_db.py"])
run_command(["python3", "cron_analyst_ticker.py"])