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.
18 lines
503 B
18 lines
503 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 $MSG_LOAD_PFAD |
|
./msg_unload.x |
|
|
|
|
|
$MSG_PFAD/msg_update.x $MSG_PFAD |
|
|
|
#In der crontab sähe das so aus: |
|
# msg-Update |
|
# -0 4 * * 2,3,4,5,6 /home/superx/db/module/msg/msg_update_cron.x >/home/superx/db/module/msg/msg_update_cron.log 2>&1 |
|
# Bedeutung: Der MSG-Update wird Di-Sa morgens um 4:00 Uhr ausgeführt |
|
|
|
|