Last active
April 6, 2017 17:41
-
-
Save pbnj/051d685e650aab1acfb807eb207fa115 to your computer and use it in GitHub Desktop.
run as cron (cron debugging script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
# env > $HOME/cronenv | |
env -i $(cat $HOME/cronenv) "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment