chezmoi/bin/executable_run-dosier.sh

17 lines
255 B
Bash
Raw Normal View History

#!/usr/bin/env zsh
LOG="$HOME/morning.log"
exec > >(tee -i ${LOG})
exec 2>&1
echo "# Starting morning run: $(date)"
pushd ~/git/git.front.kjuulh.io/kjuulh/morning/ || return 1
cargo run oneshot
popd || return 1
echo "Finished monring run: $(date)"