Author : Yury Stanev

I’ve made a python script that uploads the files into s3 bucket. I need the script to run periodically from within the docker container. #!/usr/local/bin/python3 import boto3 from botocore.errorfactory import ClientError import os import glob import json import time s3_client = boto3.client(‘s3’) s3_bucket_name = ‘ap-rewenables-feature-data’ uploaded = None max_mod_time = ‘0’ file_list = glob.glob(‘/data/*.json’) file_mod_time ..

Read more

I’ve a made script to automate initial system setup on Linux Mint 20. The script runs fine until after finishing docker install just before docker-compose installation. After docker is installed the script stays on bash prompt until the usrer enters exit, afterwards the script continues it’s normal execution. It’s a small annoyance, but I’m not ..

Read more