6 lines
255 B
Bash
Executable file
6 lines
255 B
Bash
Executable file
#!/bin/bash
|
|
LogDatei="/var/log/duc-index.log"
|
|
|
|
echo -e "*** Erstelle duc index von / $(date +%F_%T)" &>> ${LogDatei}
|
|
duc index --fs-exclude="nfs,davfs" / &>> ${LogDatei}
|
|
echo -e "*** Vertich :-) mit duc return code <$?> um $(date +%F_%T)" &>> ${LogDatei}
|