ZoopaMario
2eadbafa38
Add a library file containing common logic to be sourced by individual backup scripts
7 lines
114 B
Bash
Executable file
7 lines
114 B
Bash
Executable file
#!/bin/bash
|
|
|
|
log() {
|
|
local message="$1"
|
|
echo "$(date '+%Y-%m-%d %H:%M:%S') - $message" | tee -a "$LOG_FILE"
|
|
}
|