[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cron job not working properly



On July 30, 2003 at 14:17, Steve Mansfield wrote:

> the script is as follows:
> /usr/bin/mhonarc -title "Simple Mail List" -ttitle "Simple Thread List" 
> -sort /home/simple/cool/cgi-bin/lists/member-list.archive/member.*

If you are adding messages, you need the -add option.  Otherwise,
you creating a new archive each time.

> >This is MHonArc v2.6.4, Perl 5.008 linux
> >Converting messages to .
> >Reading /home/simple/cool/cgi-bin/lists/member-list.archive/member.20030718 
> .
> >
> >Writing mail .
> >Writing ./maillist.html ...
> >Writing ./threads.html ...
> >Writing database ...
> >2 new messages
> >2 total messages

> but only the original first message shows up.
> If i run the same command manually from the command line everything 
> works 100%

Have you done a file listing of the archive directory?

Also, with cron, the current working directory is normally set to
to the home directory of the user account.  Is this where you want
the archive to exist?  You should use the -outdir option to explicitly
tell mhonarc where the archive should go.

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]