Skip to content

Commit

Permalink
Fix cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Jan 29, 2024
1 parent fffa363 commit 3117e94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/schedule_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3117e94

Please sign in to comment.