본문 바로가기

Management/Scripts

Crontab Environment

 Crontab Environment

cron invokes the command from the user's HOME directory with the shell, (/usr/bin/sh).
cron supplies a default environment for every shell, defining:
HOME=user's-home-directory
LOGNAME=user's-login-id
PATH=/usr/bin:/usr/sbin:.
SHELL=/usr/bin/sh

Users who desire to have their .profile executed must explicitly do so in the crontab entry or in a script called by the entry.

'Management > Scripts' 카테고리의 다른 글

프로세스 관리 스크립트  (0) 2008.07.22
Bash 문서  (0) 2008.07.22
Crontab Command  (0) 2008.07.21
Patten을 이용한 내용 변경  (0) 2008.07.21
Find 사용법  (0) 2008.07.21