Skip to content
Snippets Groups Projects
Commit 4db3cd9c authored by Radoslav Bodó's avatar Radoslav Bodó
Browse files

scripts: use .conf in cron, not .yml

parent fa263dd1
No related branches found
No related tags found
No related merge requests found
Pipeline #7797 passed
...@@ -6,7 +6,7 @@ umask 077 ...@@ -6,7 +6,7 @@ umask 077
LOGFILE="/var/log/rwm/cron.log.$(date +'%Y-%m-%dT%H:%M:%S%z')" LOGFILE="/var/log/rwm/cron.log.$(date +'%Y-%m-%dT%H:%M:%S%z')"
mkdir -p "$(dirname "$LOGFILE")" mkdir -p "$(dirname "$LOGFILE")"
/opt/rwm/rwm.py --config /etc/rwm.yml backup-all 1>"$LOGFILE" 2>&1 /opt/rwm/rwm.py --config /etc/rwm.conf backup-all 1>"$LOGFILE" 2>&1
RET=$? RET=$?
if [ $RET = 0 ]; then if [ $RET = 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment