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 <[email protected]> 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.

Reply via email to