Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] database loader job with START_TO_START_INTERVAL

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] database loader job with START_TO_START_INTERVAL


Chronological Thread 
  • From: Scott Koranda <>
  • To: Chris Hyzer <>
  • Cc: grouper-users <>
  • Subject: Re: [grouper-users] database loader job with START_TO_START_INTERVAL
  • Date: Wed, 9 Jul 2014 14:00:33 -0500

Thanks.

If I kick one off manually do I have to worry about the possibility of
two running simultaneously, or will having one instance running
prevent the other one from running?

Thanks,

Scott

On Wed, Jul 9, 2014 at 1:58 PM, Chris Hyzer
<>
wrote:
> It doesn’t necessarily start when the loader starts:
>
> //start time is the interval seconds / 5, rand
> int startSeconds = (int)(Math.random() * intervalSeconds);
> Date startTime = new Date(System.currentTimeMillis() +
> (startSeconds*1000));
>
> Don’t want all START_TO_STARTs to start when the loader starts or you could
> have performance problems :)
>
> If you want to kick one off manually, you can do that from GSH:
>
> https://spaces.internet2.edu/display/Grouper/GrouperShell+%28gsh%29#GrouperShell%28gsh%29-Loader
>
> Thanks,
> Chris
>
> -----Original Message-----
> From:
>
>
> [mailto:]
> On Behalf Of Scott Koranda
> Sent: Wednesday, July 09, 2014 1:46 PM
> To: grouper-users
> Subject: [grouper-users] database loader job with START_TO_START_INTERVAL
>
> Hi,
>
> I created a loader job that uses START_TO_START_INTERVAL with an
> interval of 3600 seconds.
>
> My understanding is that when I restart the loader process the loader
> job should start immediately, and then run again one hour after it
> completes.
>
> Is that correct?
>
> I do not see any evidence in grouper_error.log (at the INFO level)
> that the loader started the job after it was restarted. Should I?
>
> Thanks,
>
> Scott



Archive powered by MHonArc 2.6.16.

Top of Page