Hello Everyone
Does anyone know if there is a way to specify a file to send errors to rather than the screen in the die function.
I wrote a script to switch out report logs in a cron right now though all error messages go to the terminal. I would like to send them to a file that I could check to see if everything went ok. The die function is the only way I easily to capture errors but, it seem that you can only send errors to the terminal. Any help will be greatly appreciated.
Thanks Randy
Does anyone know if there is a way to specify a file to send errors to rather than the screen in the die function.
I wrote a script to switch out report logs in a cron right now though all error messages go to the terminal. I would like to send them to a file that I could check to see if everything went ok. The die function is the only way I easily to capture errors but, it seem that you can only send errors to the terminal. Any help will be greatly appreciated.
Thanks Randy