I’ve got a script that PIPES an email address but it’s not doing what I need it to do and I believe it’s returning some php FATAL errors. I have it setup to log some responses already and write the responses to a .html file however how do I get the FATAL errors to log in that same .html file so I can debug my script?
Share
Change the cron command to something like
This should redirect the regular output to
stdout.logand the errors tostderr.log.