Bugs » Cron and Email Summary

added on Nov 21, 2007 by Bram Verdonck
I'm using cron to check the links but the email summary doenst seem to work when I run it with #php -q /.../index.php

And it's working when I run it with #lynx http://..../index.php

Is this a bug or a feature? ;)
added on Nov 22, 2007 by v0id
hey,

hm let's just call it a feature :)

What I have in my crontab is this:
MAILTO=support@linkex.dk
0 0 * * * /usr/local/bin/php /path/to/my/linkex/index.php -v

The "-v" parameter makes LinkEX be verbose, and the MAILTO just above makes cron email the output from the
script to the address.

One could argue that the script should obey the settings from the external access, but for now it doesn't.

- v0id
added on Nov 22, 2007 by Bram V
Oke, I've done that and it's doable but I get mails with an ID number and no nice output.

So maybe thats something for on your todo list ;)
added on Nov 22, 2007 by v0id
hey,

yeah it's written on my todo list :)

thanks for the input!

- v0id

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.