I have a created a cronjob and want to execute this. The mail function within the script workes perfect (through the cronjob) but I also want to create a html file or import the data into MYsql database.
If I go directly to the .php script file it will execute the functions perfect however the cronjob doesn't excute the html or mysql functions.
I use the command:
/usr/local/bin/php -q -f /home/<user>/domains/<domainname>/public_html/script.php
Do I have to use another command ?
Greetz Vadee
If I go directly to the .php script file it will execute the functions perfect however the cronjob doesn't excute the html or mysql functions.
I use the command:
/usr/local/bin/php -q -f /home/<user>/domains/<domainname>/public_html/script.php
Do I have to use another command ?
Greetz Vadee