dots/.bin/get-anki-reviews-status

11 lines
124 B
Bash
Executable File

#!/usr/bin/env bash
num_reviews="$(cat /tmp/anki-reviews)"
if [ "$num_reviews" -ge "400" ]
then
exit 0
else
exit 1
fi