I am needing a bit of help. I am converting some of my old crontab
entries to xxx.timer and xxx.service systemd files. I have the following
(the system is a backup server that can be woken by magic packets or
some amount of time before the backups run):
ExecStart=/usr/sbin/rtcwake -m mem -t $(/usr/bin/date +\%s -d 'today
23:50') > /dev/null
It yeilds:
Invalid escape sequences in line, correcting: "/usr/sbin/rtcwake -m mem
-t $(/usr/bin/date +\%s -d 'today 23:50') > /dev/null"
Is there a way to correct this easily, or am I going to have to turn
that line into a separate shell script?
Thank you.
Trever
Show replies by thread