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

scripts: cron use rwm from PATH

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