Skip to content

Commit

Permalink
chore: Remove day check from exporter.
Browse files Browse the repository at this point in the history
  • Loading branch information
HassanJaveed84 committed Nov 28, 2023
1 parent 0f82b6a commit a3254c4
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 a3254c4

Please sign in to comment.