<<< Date Index >>>     <<< Thread Index >>>

Re: mutt attachments html and cron



Hello Michael,

Wednesday, July 2, 2008, 5:26:58 PM, you wrote:

MK> On 2 Jul 2008 17:19 +0300, by P.Rysevets@xxxxxxxxxxxxxxxxx (Paul -Spawn- 
Rysevets):
>> ah.. btw.. when run by cron i've managet to get error-out:
>> ----------------------
>> Error in /home/webmaster/.muttrc, line 2: header_cache: unknown variable
>> source: errors in /home/webmaster/.muttrc
>> Error in command line: content_type: unknown variable
>> ----------------------

MK> Do you by any chance have two different versions of Mutt installed?
MK> Try adding a cron job to be executed soon that runs "which mutt" - is
MK> the path the same one as when you run it from the command line?

many thanks... this worked..

there were two different versions of mutt... one from console is 1.15
the one from cron is 1.14 ...

so those content_type's were not working.... adding full path to new
mutt fixed the problem.

MK> Usually when manually executed programs behave differently from when
MK> they are run through cron, the problem is that the environments
MK> differ.

-- 
Best regards,
 Paul 'Spawn' Rysevets          P.Rysevets@xxxxxxxxxxxxxxxxx
 SpAwN_gUy.aka.WAREZMasta       WAREZMasta@xxxxxxxxx
 ICQ:968978                     SKYPE-ID: spawn_guy