From ea2ae8d16895ad8304ab4d60d92ffb45af26bf2b Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Fri, 31 Jan 2025 16:38:45 +0100 Subject: [PATCH] bugfixin --- app/primary_cron_job.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/primary_cron_job.py b/app/primary_cron_job.py index 4a2c9a4..3f102d4 100755 --- a/app/primary_cron_job.py +++ b/app/primary_cron_job.py @@ -108,11 +108,7 @@ def run_options_jobs(): run_command(["python3", "cron_options_gex_dex.py"]) ''' -def run_fda_calendar(): - now = datetime.now(ny_tz) - week = now.weekday() - if week <= 5: - run_command(["python3", "cron_fda_calendar.py"]) + def run_cron_insider_trading(): week = datetime.today().weekday() @@ -376,7 +372,6 @@ schedule.every().day.at("08:00").do(run_threaded, run_cron_insider_trading).tag( schedule.every().day.at("08:30").do(run_threaded, run_dividends).tag('dividends_job') schedule.every().day.at("09:00").do(run_threaded, run_shareholders).tag('shareholders_job') schedule.every().day.at("09:30").do(run_threaded, run_profile).tag('profile_job') -schedule.every().day.at("10:00").do(run_threaded, run_fda_calendar).tag('fda_job')