diff --git a/catchup_day.sh b/catchup_day.sh index e49762a1afbdb70a1177050793f69b038f562e30..c25e2239d1833fa000f62769bca3ae0f3c28826d 100755 --- a/catchup_day.sh +++ b/catchup_day.sh @@ -11,25 +11,25 @@ config=$1 # /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/confi date=$2 # 20221009 # depo -/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Deposition -c $config -s $date & +/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Deposition -c $config -s $date --clearup & # Wait at least a minute so that logfile timestamps do not clash sleep 70 # env -/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Environment -c $config -s $date & +/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Environment -c $config -s $date --clearup & # wait for depo and env to finish wait # epi -/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Epidemiology -c $config -s $date & +/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Epidemiology -c $config -s $date --clearup & # Wait at least a minute so that logfile timestamps do not clash sleep 70 # advisory -/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Advisory -c $config -s $date & +/storage/app/EWS_prod/code/coordinator/run_Processor.sh -p Advisory -c $config -s $date --clearup & wait diff --git a/coordinator/Processor.py b/coordinator/Processor.py index fec935e6ab132791ab865e0eb48b145bd2024ae0..0bcc1c8e2baa87fab2a9c5818ceaa0019bb83a79 100755 --- a/coordinator/Processor.py +++ b/coordinator/Processor.py @@ -589,7 +589,7 @@ def run_Process(args: dict): clearup_dest_dir = f"{workspacePath}/clearup/{short_name[component]}_{start_date}/" Path(clearup_dest_dir).mkdir(parents=True, exist_ok=True) - logger.info('While developing, moving directories to this directory : {clearup_dest_dir}') + logger.info(f"While developing, moving directories to this directory : {clearup_dest_dir}") clear_up( paths_to_clear, clearup_dest = clearup_dest_dir)