WebDesigner-EU
03-17-2005, 02:26 AM
I got at crontab problem. I'm trying to setup a cron to run every minute, but it does not work. When I check the crontab log I can see that the cronjob has run, but since I'm testing a simple php mail script and I don't recive any mail - it has not run!
The php script is simple enough, <?php mail("me@server.com", "Subject", "Content"); ?>
The conrtab looks like this:
* * * * * php /home/user1/public_html/mailscript.php
And if I run just php /home/user1/public_html/mailscript.php the scripts sendt me a mail. But not when I set up a crontab!
The php script is simple enough, <?php mail("me@server.com", "Subject", "Content"); ?>
The conrtab looks like this:
* * * * * php /home/user1/public_html/mailscript.php
And if I run just php /home/user1/public_html/mailscript.php the scripts sendt me a mail. But not when I set up a crontab!
