From 3117e948002115740e6fd9f6eb1fc2dd45accbe3 Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Mon, 29 Jan 2024 00:37:17 -0500 Subject: [PATCH] Fix cronjob --- scripts/schedule_cache.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/schedule_cache.sh b/scripts/schedule_cache.sh index a6423d7..163e31e 100644 --- a/scripts/schedule_cache.sh +++ b/scripts/schedule_cache.sh @@ -3,8 +3,8 @@ # SPDX-License-Identifier: MIT REPOPATH=$(realpath .) -JOBNAME=$(echo "$REPOPATH" | xargs basename) -STATICPATH="$REPOPATH/flash_app/static" +SCRIPTPATH="$REPOPATH/scripts/graphql.py" COMMAND="50 23 * * * python $SCRIPTPATH $REPOPATH" +JOBNAME=$(echo "$REPOPATH" | xargs basename) cronberry enter "Cache cards for $JOBNAME" "$COMMAND" --overwrite