[OPEN-ILS-DEV] [OPEN-ILS-GENERAL] Reshelving
Tim Spindler
tjspindler at gmail.com
Wed Oct 26 11:14:12 EDT 2011
Thanks, Dan. I made the suggested change and it still does not seem to be
doing anything. The cron log reads
Oct 26 10:05:01 eg-training /USR/SBIN/CRON[3179]: (opensrf) CMD (cd
/openils/bin && ./reshelving_complete.srfsh)
If I try and run the file issuing logged in with opensrf
"./reshlving_complete.srfsh" I get the following error.
Unable to bootstrap client for requests
Anyone have any ideas?
Thanks,
Tim
On Tue, Oct 25, 2011 at 6:06 PM, Dan Wells <dbw2 at calvin.edu> wrote:
> Hello Tim,
>
> Cron can be tricky for a number reasons, but one thing which stands out to
> me here is the '/usr/bin/perl'. The 'reshelving_complete.srfsh' script is
> not a perl script but a "SRF Shell" script, so we don't need to call the
> Perl interpreter in this case. Assuming you can successfully run
> 'reshelving_complete.srfsh' from the normal shell prompt, I would first try
> removing the '/usr/bin/perl' from your Cron command and see what happens.
>
> Dan
>
> >>> On 10/25/2011 at 4:14 PM, Tim Spindler <tspindler at cwmars.org> wrote:
> > We have the cron job running on the reshelving status but nothing ever
> > changes. The cron job log is
> >
> > Oct 25 16:05:01 eg-training /USR/SBIN/CRON[25245]: (opensrf) CMD (cd
> > /openils/bin && /usr/bin/perl ./reshelving_complete.srfsh)
> > Oct 25 16:05:01 eg-training /USR/SBIN/CRON[25243]: (CRON) error
> (grandchild
> > #25245 failed with exit status 255)
> >
> > Any ideas what may be wrong? I'm not sure what the grandchild error is.
> We
> > have gone through and assigned a 6 hour reshelving interval and all the
> > items are well passed the time period.
> >
> > Thanks for any help you can provide.
>
>
--
Tim Spindler
tjspindler at gmail.com
*P** Go Green - **Save a tree! Please don't print this e-mail unless it's
really necessary.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20111026/b938ac59/attachment.htm>
More information about the Open-ils-dev
mailing list