service acout records updated
This commit is contained in:
@@ -129,4 +129,5 @@ def send_mail_to_users_that_have_received_email_from_banks():
|
||||
print("Email is not sent")
|
||||
|
||||
|
||||
send_mail_to_users_that_have_received_email_from_banks()
|
||||
if __name__ == "__main__":
|
||||
send_mail_to_users_that_have_received_email_from_banks()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class Config:
|
||||
IP_ADDRESS: str = "http://10.10.2.46:41575/internal/isbank/retreive"
|
||||
# IP_ADDRESS: str = "http://10.10.2.46:41575/internal/isbank/retreive"
|
||||
SERVICE_TIMING: int = 900 # 15 min
|
||||
|
||||
UNREAD_PATH: str = "/home/bank/isbank/unread/"
|
||||
|
||||
@@ -22,6 +22,7 @@ RUN apt-get update && apt-get install -y cron
|
||||
# 11:00 Istanbul Time (UTC+3) system time is 08:00 UTC
|
||||
RUN echo "0 8 * * * /usr/local/bin/python /service_app_banks/app_mail_sender.py >> /var/log/cron.log 2>&1" > /tmp/crontab_list && crontab /tmp/crontab_list
|
||||
RUN echo "*/15 * * * * /usr/local/bin/python /service_app_banks/isbank/main_single_thread.py >> /var/log/cron.log 2>&1" >> /tmp/crontab_list && crontab /tmp/crontab_list
|
||||
RUN echo "*/15 * * * * /usr/local/bin/python " >> /tmp/crontab_list && crontab /tmp/crontab_list
|
||||
#RUN echo /service_app_banks/crontab_to_write > /tmp/crontab_list
|
||||
#RUN crontab /tmp/crontab_list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user