Hi Tom,

> I added the following to my cronjob for my dspace user
>  
> 0 6 * * * /srv/archives/dspace/bin/dspace generate-sitemaps >/dev/null 2>&1
>  
> I however get the following error:
>  
> Oct  3 12:05:01 localhost crond[3632]: FILE /var/spool/cron/archives USER 
> archives PID 16954 /srv/archives/dspace/bin/dspace itemcounter >/dev/null 2>&1
> Oct  3 12:05:01 localhost crond[3632]: exit status 127 from user archives 
> /srv/archives/dspace/bin/dspace itemcounter >/dev/null 2>&1

Do you get any errors if you try running that script by hand outside of cron?

With cron, double-check that you are running it as the correct user, and that 
there are no environment variables that cron might not have access too which 
are required.

Thanks,


Stuart Lewis
Digital Development Manager
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Dspace-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-general

Reply via email to