In the cron job cPanel "Standard" interface there is this:
"Standard Cron Manager This is a web interface to the crontab program. It allows you to run commands at any time you specify. Enter the command you would like to run as well as running times.
Please enter an email address where the cron output will be sent:
[ MySite ]
NOTE: You will receive a message every time this job runs. Using your main e-mail address is not recommended.
Your cron MUST produce an output or you will not receive an email.
Entry 1 Command to run:
[ ] "
Now my question is this: What exactly is an "output"?
For example if the PHP file I tell the crontab to run simply echos results, is THAT "output"? Does it need to be formatted into HTML tags? What if the file that I run generates an automated mail message of its own? I`m a bit confused.
Never used cron jobs before but I`d like to create one that sends me a report at the end of each day telling me what records (if any) users have added to a database.
|