Schnittstelle CampusOnline (TU Graz) zu SuperX-Modul COSTAGE
http://www.superx-projekt.de/doku/costage_modul/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
356 B
20 lines
356 B
#!/bin/bash |
|
|
|
#Beispielscript für cronjobs |
|
#Im cronjob ist keine Umgebung vorhanden, deshalb vorher laden. |
|
#Selbstredend als normaler user, nicht als root z.B. |
|
. /home/superx/db/bin/SQL_ENV |
|
|
|
|
|
cd $COSTAGE_LOAD_PFAD |
|
./costage_unload.x |
|
|
|
|
|
|
|
cd $COSTAGE_PFAD |
|
costage_update.x |
|
|
|
|
|
DOQUERY "reindex database $DBNAME" |
|
echo "Ende $COSTAGE_PFAD/costage_update_cron.x" |
|
|
|
|