Hi Guys,
I am trying to use cron to automate a task which I need to run. At the moment I am just testing the script so I am just trying to get it to send an email to me. But it is not going as expected.
What I need to know is, is there any special coding requirement that must be used when coding a script that will be executed by cron?
The script I have is just a simple mail() function call which sends an email to me. That is it? Is this allowed?
Also, once I overcome this problem I want my automated php script to check a certain email address and then log some information to a database. Is this also possible from a PHP script which is called by cron?
Thanks in advance!