Admin/cronjob/main
author wenzelm
Sat, 22 Jan 2022 13:00:03 +0100
changeset 74994 26794ec7c78e
parent 74038 b4f57bfe82e7
permissions -rwxr-xr-x
some updates and clarification on Assumption.export_term;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
64148
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     2
#
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     3
# DESCRIPTION: start the main Isabelle cronjob
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     4
73705
ac07f6be27ea avoid unexpected output+behaviour when CDPATH is set
kleing
parents: 64498
diff changeset
     5
unset CDPATH
64148
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     6
THIS="$(cd "$(dirname "$0")"; pwd)"
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     7
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     8
source "$HOME/.bashrc"
bbf43b7c4d0d basic setup for Isabelle cronjob;
wenzelm
parents:
diff changeset
     9
64266
4699d3b3173e uniform Isabelle settings -- avoid picking up different JAVA_HOME;
wenzelm
parents: 64182
diff changeset
    10
export ISABELLE_IDENTIFIER="cronjob"
74038
b4f57bfe82e7 more robust "isabelle build_scala" as separate tool;
wenzelm
parents: 74034
diff changeset
    11
"$THIS/../../bin/isabelle" scala_build -q || exit $?
b4f57bfe82e7 more robust "isabelle build_scala" as separate tool;
wenzelm
parents: 74034
diff changeset
    12
"$THIS/../../bin/isabelle_java" isabelle.Isabelle_Cronjob "$@"