zsh-shell-init/alias.d/opt/test_cron.sh
2023-09-13 17:10:07 +08:00

4 lines
211 B
Bash
Executable File

# shellcheck shell=ksh
source "$HOME/.zshrc"
echo "$(date "+%Y-%m-%d %H:%M:%S")" LocalHostName "$(scutil --get LocalHostName)" HostName "$(scutil --get HostName)" ComputerName "$(scutil --get ComputerName)"
env