How to script at job creation?
Gary Aitken
ubuntu at dreamchaser.org
Fri Dec 11 16:36:05 UTC 2020
On 12/11/20 12:29 AM, Volker Wysk wrote:> Am Freitag, den 11.12.2020, 08:12 +0100 schrieb Bo Berglund:
>> #!/bin/bash
>> NEXTDAY=`date --date="tomorrow" +%Y-%m-%d`
>> CMDTIM1="echo \"timeout --signal=2 65m getmsnbcstream ${NEXTDAY}_"
>> #Now create the at jobs
>> CMDAT="${CMDTIM1}inp19.mp4\" | at 00:58 tomorrow"
>> $CMDAT
>> exit
>
> Aren't there two closing quotes missing, in lines 3 and 5 ...?
No, the middle one in each case is escaped.
Gary
More information about the ubuntu-users
mailing list