← 문제 라이브러리
Linux Intermediate LINUX-1196 · 17 min

Systemd timer runs but the wrapped script sees a different working directory than the shell version

A maintenance job appears healthy under manual testing, yet fails under the timer because the script expects relative paths from a different working directory.

Pro
시나리오

A script borrowed from community examples works in a shell and under cron tests. The …

구독하면 이어서 볼 수 있어요

이 문제의 전체 시나리오와 점검 체크리스트, 복구 순서, 모범 풀이는 Pro 구독에서 열립니다.

구독 안내 보기