diff --git a/.config/scripts/cron/README.md b/.config/scripts/cron/README.md index 1773335..40716e4 100644 --- a/.config/scripts/cron/README.md +++ b/.config/scripts/cron/README.md @@ -28,9 +28,9 @@ launchctl list | grep restic source /Users/noahheague/.zshrc ; /Users/noahheague/.config/scripts/cron/backup-server.sh StandardErrorPath - /Users/noahheague/restic-err.txt + /Users/noahheague/launchd/restic-err.txt StandardOutPath - /Users/noahheague/restic-out.txt + /Users/noahheague/launchd/restic-out.txt StartCalendarInterval @@ -45,3 +45,36 @@ launchctl list | grep restic ``` + +## DNS launchd configuaration + +```sh +launchctl remove launchd.dns # If it's already running +launchctl load -w ~/Library/LaunchAgents/launchd.dns.plist +launchctl list | grep dns +``` + +```plist + + + + + Label + launchd.dns + ProgramArguments + + /bin/zsh + -c + source /Users/noahheague/.zshrc ; /Users/noahheague/.config/scripts/cron/dns.sh + + StandardErrorPath + /Users/noahheague/launchd/dns-err.txt + StandardOutPath + /Users/noahheague/launchd/dns-out.txt + StartInterval + 900 + UserName + noahheague + + +```