I finally got this working. I had to export java into my crontab script for my 
user. Once I did that it worked like a charm.

Thanks for the help,

Tom

-----Original Message-----
From: Thomas Misilo [mailto:[email protected]] 
Sent: Monday, October 03, 2011 9:16 PM
To: Stuart Lewis
Cc: [email protected]
Subject: Re: [Dspace-general] Cron Job Not Working

Hello Stuart,

>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.

The commands work fine when running as the dspace user (archives), which is 
also the same user that, and I do not believe I should need any environment 
variables, as it is just the dspace program being run.

I am not sure what else to try, other than making these cron jobs run as root, 
and use "su -c" to run the commands as archives, but I thought crontab does 
this by default anyways.

Thanks for the help,

Tom

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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