![macOS 단축키를 사용하여 "at" 명령 실행](https://linux55.com/image/208863/macOS%20%EB%8B%A8%EC%B6%95%ED%82%A4%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%22at%22%20%EB%AA%85%EB%A0%B9%20%EC%8B%A4%ED%96%89.png)
x분 안에 실행하고 싶은 단축키가 있습니다. 다음과 같이 명령줄에서 바로가기를 실행할 수 있습니다.
shortcuts run "turn lights off"
그러나 다음과 같이 사용하여 일정을 예약하려고 하면 at
다음과 같습니다.
echo "shortcuts run \"turn lights off\"" | at now + 1 minute
이메일에 표시된 대로 다음 오류가 발생합니다.
Error: Couldn’t communicate with a helper application.
이 문제에 대한 해결책이 있습니까? 일정 바로가기를 어떻게 사용하나요 at
?
답변1
나는 그것을 알아낼 수 있습니다. .at
Automator
echo "automator ./Lights.workflow" | at now + 1 minute