Skip to content

Commit

Permalink
bugfixin
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Jan 31, 2025
1 parent 4538795 commit ea2ae8d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/primary_cron_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -376,7 +372,6 @@ def run_threaded(job_func):
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')



Expand Down

0 comments on commit ea2ae8d

Please sign in to comment.