From a3254c41e2ad734e25449a692bbbe8b8a3e8d761 Mon Sep 17 00:00:00 2001 From: Hassan Date: Tue, 28 Nov 2023 17:28:35 +0500 Subject: [PATCH] chore: Remove day check from exporter. --- dataeng/resources/setup-exporter.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dataeng/resources/setup-exporter.sh b/dataeng/resources/setup-exporter.sh index 5466c09e3..b5813e5e7 100644 --- a/dataeng/resources/setup-exporter.sh +++ b/dataeng/resources/setup-exporter.sh @@ -1,12 +1,6 @@ #!/usr/bin/env bash set -e -# Check that the DATE_MODIFIER is set to a Sunday, or if blank the current day is a Sunday -DAYOFWEEK=$(date +%u ${DATE_MODIFIER}) -if [ $DAYOFWEEK != 7 ]; then - exit 1 -fi - # Create destination directory mkdir -p /var/lib/jenkins/tmp/analytics-exporter/course-data