#!/bin/bash # Execute a user crontab entry with the proper environment DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" env -i bash --noprofile --norc -c "$DIR/cronTest2 $USER"