Did you edit the conrab to a
(cd /path/; php file.php)
try it manually does the cron work manually?
maybe without the \. that is from an old php 5 install? or just
php /path/file.php
su 'user'
password ********
crontab -e
make a user crontab for this
then verify $ stat [] that any file to be written to is permissions user:www-data otherwise the php will not be able to write to the file
you could go up from 644 to 666 and try it also
If it is a PDO MySQL make sure you settings are correct for the database
make sure there is a \n (newline) at the end of the command
leave the > /dev/null 2>&1 off for now
I don't see it working
Is there some file affected -- can you stat a date time?
Mail servers are a hassle to set up correctly -- why do you really need an email -- to feel good? Can't you tell by the website's updates if the cronjob is working?
|