Created
June 9, 2025 09:14
-
-
Save vraravam/4ffa42fdde16ad4a03ed5709fb198767 to your computer and use it in GitHub Desktop.
cron job template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference: https://crontab.guru/ | |
# Note: 'chronic' is a utility installed using 'moreutils' from homebrew and is needed so that a successful run of any cron job does not cause a mail to get generated | |
# Env | |
SHELL=/opt/homebrew/bin/zsh | |
HOME="/Users/vijay" | |
DOTFILES_DIR="${HOME}/.dotfiles" | |
# Needed for moreutils to be in the PATH | |
PATH=/opt/homebrew/bin:/usr/bin | |
0,30 * * * * chronic zsh -lsc "${DOTFILES_DIR}/scripts/software-updates-cron.sh" | |
# 10,40 * * * * chronic zsh -lsc "git -C \"${HOME}/personal/vijay/profiles\" cc" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment