> ## Content Index
> Fetch the complete content index at: https://sanghunkang.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# zsh에 설정해둔 alias를 crontab에 사용하고 싶을때
- URL: https://sanghunkang.com/ko/using-zsh-aliases-in-crontab-ko/
- Published: 2018-01-22T00:00:00.000Z
- Updated: 2026-08-31T10:05:56.000Z
- Author: Sanghun Kang
- Tags: dev, #ko, zsh, linux, crontab

# Table of Contents

Put your functions in .zshenv.

.zshenv is sourced on all invocations of the shell, unless the -f option is set. It should contain commands to set the command search path, plus other important environment variables. .zshenv should not contain commands that produce output or assume the shell is attached to a tty.

.zshrc is sourced in interactive shells. It should contain commands to set up aliases, functions, options, key bindings, etc.

/usr/bin/zsh test.sh 이렇게 작업해 그럼 잘 됨