Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Grouper Loader

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Grouper Loader


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: BELL F.C. <>
  • Cc: "" <>
  • Subject: [grouper-users] RE: Grouper Loader
  • Date: Mon, 6 Jun 2016 15:33:29 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

You should run gsh -loader  continuously, ok?  You can run this as a unix service

 

Thanks

Chris

 

From: BELL F.C. [mailto:]
Sent: Monday, June 06, 2016 11:03 AM
To: Hyzer, Chris <>
Subject: RE: Grouper Loader

 

Hi Chris,

 

Ran loaderRunOneJob("MAINTENANCE__enabledDisabled"); from the gsh and this worked and inserted a row in the log table.

 

How do I now schedule this to run as a QuartzCron job ?

 

Is this through the UI or can it be scheduled from the gsh command line [ as with the UNIX crontab ]

 

Sorry – not quite clear on this.

 

Frank.

 

 

From: Hyzer, Chris []
Sent: 03 June 2016 18:24
To: BELL F.C. <>
Cc:
Subject: RE: Grouper Loader

 

You should have an enabled/disabled job in the grouper daemon (aka grouperLoader).  Do you see entries when you run this?

 

select * from grouper_loader_log where JOB_NAME = 'MAINTENANCE__enabledDisabled' order by started_time desc

 

Thanks

Chris

 

From: BELL F.C. []
Sent: Friday, June 03, 2016 11:13 AM
To: Hyzer, Chris <>
Subject: RE: Grouper Loader

 

Dear Chris, wonder if you can help with another Grouper feature that I am trying to get to work.

 

I have attempted to set end dates for individuals membership of groups by selecting Actions -> Edit membership and privileges  (see screenshot below)

 

What I am finding is that if I select todays date (or earlier) for the End Date and perform a ‘Save’ then the person is removed from the group in the same manner as if you select Revoke membership.

 

However, what I would ideally like to do is set End Dates in the future so that when that date is reached the person is automatically removed from the group but this is not happening as I would of expected.

 

Is there an existing cron job that comes with Grouper which automatically checks End Dates and revokes memberships ?

 

I have worked out that it is the disabled_timestamp in the GROUPER_MEMBERSHIPS table which needs to be checked but the dates are being converted into rather long integers so not totally straightforward.  

 

Frank

Durham University.

 

 

 

 

 

 

 

 

 

 




Archive powered by MHonArc 2.6.16.

Top of Page