Skip to content

Commit

Permalink
Merge pull request #1706 from edx/hassan/exporter-remove-day-check
Browse files Browse the repository at this point in the history
chore: Remove day check from exporter.
  • Loading branch information
HassanJaveed84 authored Nov 28, 2023
2 parents 0f82b6a + a3254c4 commit 49e0199
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions dataeng/resources/setup-exporter.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 49e0199

Please sign in to comment.