Hi!

I'm using Orjan's nntp-patch and am very happy with it. As I'm on a
dial-up connection most of the time, I'm using the offline mode which
spools outgoing posts to a file, and NNTPPost delivers it when
triggered from a script in /etc/ppp/ip-up.d/ (Debian). Another script
there fetches mail, executing

    /usr/bin/mutt -R -F /etc/muttnewsrc 

as user, with /etc/muttnewsrc being

    folder-hook . "push Bxy"

so mutt starts read-only non-changing mailboxes, doing "B" which
fetches the news, and then quits non-changing.

So this works, the same when 

    /usr/bin/mutt -R -F /etc/muttnewsrc

is executed from the command line as user. The problem is, it doesn't
work when executed from a user's crontab. I edit it with

    crontab -e

and add

*/2 *     * * *     /usr/bin/mutt -R -F /etc/muttnewsrc > /dev/null 2>&1

(one line). The " > /dev/null 2>&1" part is to prevent cron from
sending mail on job execution.

What am I missing here?

-Andre

Attachment: msg30407/pgp00000.pgp
Description: PGP signature

Reply via email to