From 95f6952f62d50fbd2afe34a2dcf79d308c01f21e Mon Sep 17 00:00:00 2001 From: satomichan Date: Wed, 11 Sep 2024 15:57:41 +0900 Subject: [PATCH] =?utf8?q?at=20=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?utf8?q?=E3=81=A7=20job=20=E3=82=92=E7=99=BB=E9=8C=B2=E3=81=97=E3=81=9F?= =?utf8?q?=E6=99=82=E7=82=B9=E3=81=A7=E3=81=AE=E3=82=AB=E3=83=AC=E3=83=B3?= =?utf8?q?=E3=83=88=E3=83=87=E3=82=A3=E3=83=AC=E3=82=AF=E3=83=88=E3=83=AA?= =?utf8?q?=E3=81=8C=E3=80=81=E5=AE=9F=E9=9A=9B=E3=81=AE=20job=20=E3=81=AE?= =?utf8?q?=E5=AE=9F=E8=A1=8C=E6=99=82=E3=81=AB=E3=81=AA=E3=81=A3=E3=81=A6?= =?utf8?q?=E4=BD=BF=E3=81=88=E3=81=AA=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=A6?= =?utf8?q?=E3=81=97=E3=81=BE=E3=81=A3=E3=81=9F=E5=A0=B4=E5=90=88(=E5=89=8A?= =?utf8?q?=E9=99=A4=E3=82=84=E5=90=8D=E5=89=8D=E5=A4=89=E6=9B=B4)=E3=81=AB?= =?utf8?q?=E3=80=81job=20=E3=81=AE=E5=AE=9F=E8=A1=8C=E3=81=8C=E4=B8=AD?= =?utf8?q?=E6=96=AD=E3=81=95=E3=82=8C=E3=81=A6=E3=81=97=E3=81=BE=E3=81=86?= =?utf8?q?=E3=81=AE=E3=82=92=E5=AF=BE=E7=AD=96=E3=81=97=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit *キューの実行したい部分の直前に cd /var/aaaaa/bbbbb || { echo 'Execution directory inaccessible' >&2 exit 1 } のように書き加えられている。at -c で確認できる。 --- rec-radiko.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/rec-radiko.pl b/rec-radiko.pl index 6fdeee9..3d2a9c6 100644 --- a/rec-radiko.pl +++ b/rec-radiko.pl @@ -119,6 +119,7 @@ if ($is_check_mode) { print "$cmd\n\n"; exit; } else { + chdir $DIR_SAVE_TO; system($cmd); exit; } -- 2.43.0