Admin/cronjob/main
author kleing
Mon, 17 May 2021 13:57:19 +1000
changeset 73705 ac07f6be27ea
parent 64498 bb29e6849a28
child 74034 d6ae3a7d9cb0
permissions -rwxr-xr-x
avoid unexpected output+behaviour when CDPATH is set

#!/usr/bin/env bash
#
# DESCRIPTION: start the main Isabelle cronjob

unset CDPATH
THIS="$(cd "$(dirname "$0")"; pwd)"

source "$HOME/.bashrc"

export ISABELLE_IDENTIFIER="cronjob"
"$THIS/../build" jars_fresh || exit $?

exec "$THIS/../../bin/isabelle_java" isabelle.Isabelle_Cronjob "$@"