md@waw.co.uk
14th March 2007, 20:14
I understand that to add a cronjob I use crontab -e
I want to send emails to customers once a day, I have the page set-up & if I open the page in a web browser it works.
the path is /home/www/web(number)/web/auto/mail.php
I added this to the crontab
00 01 * * * /home/www/web(number)/web/auto/mail.php &> /dev/null
I think this will run at 1am every day - but it doesn't work.
Can you tell me where I'm going wrong please.
I have set CHMOD to 777 for the file mail.php
Thanks
I want to send emails to customers once a day, I have the page set-up & if I open the page in a web browser it works.
the path is /home/www/web(number)/web/auto/mail.php
I added this to the crontab
00 01 * * * /home/www/web(number)/web/auto/mail.php &> /dev/null
I think this will run at 1am every day - but it doesn't work.
Can you tell me where I'm going wrong please.
I have set CHMOD to 777 for the file mail.php
Thanks