Is there an easy way to test if a script is running from cron? I want one script to output differently if it is running with a browser and another output when running via cron. I tried using -t to test STDIN and STDOUT, but that only tells me if it's running interactively or not.