#!/bin/sh
#
# showcron - show me what cron uses
#
# usage: put it to $HOME/cron/showcron, and briefly uncomment next line to run:
# * * * * * $HOME/cron/showcron

# shellcheck disable=SC2312

tag=${0##*/}
exec >/tmp/"${tag}".$$

echo "Generated by ${tag} on $(date)

Environment:"

/bin/env | /bin/sort
echo
echo '----------------------------------------------'
echo Shell settings:
set
exit 0
