Ron Wheeler wrote:
David Sean Taylor wrote:
On Aug 20, 2009, at 12:39 PM, Ron Wheeler wrote:
We need to build a batch process to update the Jetspeed users and
their roles each night
Can we do this outside the Jetspeed portal context?
Is there an example of batch processes access/modifying Jetspeed's
data.
Yes this is possible. Take a look at the Jetspeed Serializer for an
example of how to create a command line utility to run start up
Jetspeed, link in the jar files, and assemble the Spring files
Or you could run a scheduled service from directly in your server. We
don't have a scheduler service, you would have to add in Spring
scheduler such as http://www.opensymphony.com/quartz/
I was thinking of using Quartz since I need to schedule the activity
to happen at 3 AM and I don't want to have to get up to push a button.
I may try to put the task in Ant since I do need to do some other
steps prior to the update and I think that Ant has the tasks that I need.
I have the Spring/Quartz documentation and Spring Batch so that part is
covered.
My question is less about the scheduling and more about how to access
Jetspeed functions outside a portal or servlet environment.
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]