Hi,
1) The -f just means Parse and execute the file specified, technically its not needed.
2) If on the actual cron command you do:
php somefile.php > operation.log 2>> errors.log
That will put all the output from the script into operation.log and any script errors into errors.log, you can also get it to email you the outputs (which can be setup in cpanel)
3) It depends what the cron does, if it is quite intensive then its always best to run it when your site is at its quietest.
Admin |