Gary, That should have worked for getting the code into place.
Could you try running... [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe -t this would then output the emails that would be sent out to System.out If that works, then running [dspace.dir]/bin/dsrun -Ddspace.log.init.disable=true - Dlog4j.configuration=log4j-console.properties org.dspace.eperson.Subscribe or just (if you want logging to go to dspace.log instead) [dspace.dir]/bin/dsrun org.dspace.eperson.Subscribe Will send out the emails. I don't use the sub-daily wrapper, I just place the lines like this that I want to run into my crontab. -Mark On Sep 10, 2008, at 9:23 PM, Gary Browne wrote: > Hi Claudia > > Thanks for the lead... I downloaded and installed this version but > it still doesn't work. Running sub-daily does not seem to do anything. > > Can you confirm that my installation steps were correct? > > ---------------------------------------------------------------------- > ---- > cp Subscribe.java $DSPACE_SRC/dspace-api/src/main/java/org/dspace/ > eperson/ > cd $DSPACE_SRC/dspace > mvn clean package > cd target/dspace-1.5.0-build.dir > ant update > ---------------------------------------------------------------------- > ---- > > Has anyone else experienced this problem? > > Thanks very much. > > Gary > > > Gary Browne > Development Programmer > Library IT Services > University of Sydney > ph: 9351-5946 > > -----Original Message----- > From: Claudia Jürgen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 10 September 2008 4:26 PM > To: Gary Browne > Cc: dspace-tech@lists.sourceforge.net > Subject: Re: [Dspace-tech] Email subscriptions in 1.5 > > Hi Gary, > > use the 1.5.x version of it: > http://dspace.svn.sourceforge.net/viewvc/dspace/branches/ > dspace-1_5_x/dspace-api/src/main/java/org/dspace/eperson/ > Subscribe.java?view=log > There has been a bug with the new test option. > > > Claudia > > > > > > Gary Browne schrieb: >> Hi all >> >> In our 1.5 installation, emails were not being sent for subscribers >> (nightly cron job). I tried installing the 1.5.1 version of >> org.dspace.eperson.Subscribe.java but still no emails. When I run >> /dspace/bin/sub-daily, nothing happens. >> >> The steps I followed to install the new Subscribe.java class were as >> follows: >> >> cp Subscribe.java >> $DSPACE_SRC/dspace-api/src/main/java/org/dspace/eperson/ >> cd $DSPACE_SRC/dspace >> mvn clean package >> ant update >> >> I then restarted tomcat and ran sub-daily. >> >> Any assistance would be much appreciated. >> >> Thanks >> Gary >> >> >> Gary Browne >> Development Programmer >> Library IT Services >> University of Sydney >> ph: 9351-5946 >> >> >> >> >> --------------------------------------------------------------------- >> - >> -- >> >> --------------------------------------------------------------------- >> - >> --- This SF.Net email is sponsored by the Moblin Your Move >> Developer's >> challenge Build the coolest Linux based applications with Moblin >> SDK & >> win great prizes Grand prize is a trip for two to an Open Source >> event >> anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> >> --------------------------------------------------------------------- >> - >> -- >> >> _______________________________________________ >> DSpace-tech mailing list >> DSpace-tech@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/dspace-tech > > ---------------------------------------------------------------------- > --- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > DSpace-tech mailing list > DSpace-tech@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech