How to script at job creation?

Volker Wysk post at volker-wysk.de
Fri Dec 11 07:29:33 UTC 2020


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 ...?

Bye
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20201211/a4e435d4/attachment.sig>


More information about the ubuntu-users mailing list