update cron job

This commit is contained in:
MuslemRahimi 2025-01-17 19:52:57 +01:00
parent 252ebe700b
commit 79cb70f97c
2 changed files with 3 additions and 3 deletions

View File

@ -218,7 +218,7 @@ class StockDatabase:
ticker_type = stock.get('type', '')
if exchange_short_name in ['XETRA','NYSE', 'NASDAQ','AMEX', 'PNK','EURONEXT'] and ticker_type in ['stock']:
symbol = stock.get('symbol', '')
if exchange_short_name == 'PNK' and symbol not in ['TSSI','DRSHF','NTDOY','OTGLF','TCEHY', 'KRKNF','BYDDY','XIACY','NSRGY','TLPFY','TLPFF']:
if exchange_short_name == 'PNK' and symbol not in ['FSRNQ','TSSI','DRSHF','NTDOY','OTGLF','TCEHY', 'KRKNF','BYDDY','XIACY','NSRGY','TLPFY','TLPFF']:
pass
elif exchange_short_name == 'EURONEXT' and symbol not in ['ALEUP.PA','ALNEV.PA','ALGAU.PA','ALDRV.PA','ALHYG.PA','ALVMG.PA','TEP.PA']:
pass

View File

@ -366,8 +366,8 @@ def run_threaded(job_func):
# Schedule the job to run
schedule.every().day.at("00:00").do(run_threaded, run_options_jobs).tag('options_job')
schedule.every().day.at("02:00").do(run_threaded, run_db_schedule_job)
schedule.every().day.at("01:00").do(run_threaded, run_options_jobs).tag('options_job')
schedule.every().day.at("01:00").do(run_threaded, run_db_schedule_job)
schedule.every().day.at("05:00").do(run_threaded, run_options_historical_flow).tag('options_historical_flow_job')