grouper-users - [grouper-users] RE: schedule group member's import weekly
Subject: Grouper Users - Open Discussion List
List archive
- From: "Sawyer, Mona Zarei" <>
- To: "Black, Carey M." <>, "" <>
- Subject: [grouper-users] RE: schedule group member's import weekly
- Date: Fri, 18 Aug 2017 15:09:44 +0000
- Accept-language: en-US
- Ironport-phdr: 9a23:wCtAnhBJIMH5fZe6W4qVUyQJP3N1i/DPJgcQr6AfoPdwSPX/ocbcNUDSrc9gkEXOFd2CrakV26yO6+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhzexe69+IAmrpgjNq8cahpdvJLwswRXTuHtIfOpWxWJsJV2Nmhv3+9m98p1+/SlOovwt78FPX7n0cKQ+VrxYES8pM3sp683xtBnMVhWA630BWWgLiBVIAgzF7BbnXpfttybxq+Rw1DWGMcDwULs5Qiqp4bt1RxD0iScHLz85/3/Risxsl6JQvRatqwViz4LIfI2ZMfxzdb7fc9wHX2pMRsZfWTJcDIOgYYUBDOQBMuRZr4bhqFUBogCzBRW1BO/z1jNEmmP60bA83u88EQ/GxgsgH9cWvXjasdv6LqkTUOCrw6nS1TnIcvRY2TD76IfSbxsuouuDXahufsrQx0UkCgTIjlCXqYzjJTyU1/8As22a7+V6UOKvinQrpB9srTiy38ohjJTCiIENyl3c9Ch0wpw5KcO2RUJme9KoDZtduiOAO4drTc4vQ3lktDskxrACo5K3YSoHxIk9yxLBZPGKd5KE7g/sWeqPOTt0mm9pdbOlixu870Ss0PDwW8qp3FpQsyZIkNvBu3YQ3BLJ8MeHUOFy/kK51DaPyQ/T7uZELFgxlavUN5Iu2ac8moYPvUjfACP7m1j5gLOLekk+4uio8+TnYrL9pp+AKYB7lxvyPbgpmsy6Geg4Mw4OUHaH+emk1bDu/1f1TKtEg/EriKXVrZDXKMYBqqKkDAJY0p4v6xOlADen1NQYk2MHLFVAeB+fl4jpIU/OIOvgAPq+jFmgjDlmyO7YMbL/DZjALWbMna/kfbZ67U5T0gsywMta55JVEL4BJfPzVlXvu9PFEx81Kxa0zPr/CNVhyoMeXnqCAqCDMKPVrF+I/vwgI/OVaI8IozbyNeIl5+X1gH89mF8dZrWp3YAJZHyiH/RmJVmZbmT2gtcHD2gKohQyQPb0h1KfTD4AL0q1CugW4jgwC8buJo7ZS5HlpfrLlHOxGpRdZSYfUAukFmz1MYiIRqFIIGidOMh8ijEeEKW6RpU6/RCoqALgzbd7dKzZ9jBS/cbszt9o/+DJ0Awp+CZvJ8Wbz2yXSWxoxCUFSyJgj45lpkkogGyKzrl1mbgQMNtV7rt7Wx03NNSUm+l9DdngcgfAd9KIDluqX4P1UnkKUtstzopWMA5GENK4g0WGhnLyDg==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hello Carey,
Thanks for your advice.
We implemented the schedule in the Cron and now it is working fine.
Thank you so much.
Best Regards,
Mona.
Mona Z Sawyer M.Sc.
Programmer Intermediate
Middleware and Identity Services
Information Technology
1320 S. Dixie Hwy
Suite 1000.49
Coral Gables, Fl 33146
305-284-2214
"At the U, we transform lives through teaching, research and service."
-----Original Message-----
From: Black, Carey M.
[mailto:]
Sent: Wednesday, August 16, 2017 4:21 PM
To: Sawyer, Mona Zarei
<>;
Subject: RE: schedule group member's import weekly
Mona,
To my knowledge, the Loader only (currently) supports SQL or LDAP data
sources for the jobs. ( Supporting CSV seems possible too. But maybe not
necessary.)
It looks like you have a command line way to run a process to import the csv
file already. Could you just put that into a cron job on the host?
The users still need a way to update the csv file. ( Most Unix
installs support SCP with little to no configuration. You would need OS level
accounts/permissions, but those seem like a small maintenance/one time setup.
You might also opt to use the UI (or have the end users use the UI) to "bulk
add" the members that way too. ( Someone need to "upload the file somewhere
either way.)
"Add members" --> " import a list of members ." link to show the UI
to cut/paste the Username list into.
Options include a CSV file. :)
"
How to add members?
Search for members to add
Copy/paste a list of member IDs
Import a file
"
NOTE: there is a check box at the bottom that lets the import " Replace
existing members?" if that is desired. ( I think the process just adds by
default. This option removes all members then puts your list in to the
group.)
You might also opt to create a client program to read the csv and make web
services calls too.
A bit more work, but it could be handed off to the end user to use
whenever they update the csv. You avoid needing to run the import job
yourself, and empower them to make changes as needed, on their schedule.
Which is a lot like what they grouper client does. However, I am not
clear on how the grouper client authenticates to Grouper. ( That may or may
not be a concern for your use case.)
Hope some part of that helps.
--
Carey Matthew
-----Original Message-----
From:
[mailto:]
On Behalf Of Sawyer, Mona Zarei
Sent: Wednesday, August 16, 2017 3:22 PM
To:
Subject: [grouper-users] schedule group member's import weekly
we are trying to setup grouper to read a csv file every week to populate a
group's members.
We are aware that we can populate a group from a csv file using the grouper
client ( [grouper.clientBinary-2.3.0]$ java -jar grouperClient.jar
--operation=addMemberWs --groupName=UsersGRoupA --subjectIdsFile=members.csv)
However, we are not sure how we can schedule it, like we can do in grouper
loader to run on a scheduled time.
Are we able to setup reading a csv file in the loader? If not how can we
schedule the client to run weekly?
Thank you so much.
Best Regards,
Mona.
Mona Z Sawyer M.Sc.
Programmer Intermediate
Middleware and Identity Services
Information Technology
1320 S. Dixie Hwy
Suite 1000.49
Coral Gables, Fl 33146
305-284-2214
"At the U, we transform lives through teaching, research and service."
- [grouper-users] schedule group member's import weekly, Sawyer, Mona Zarei, 08/16/2017
- [grouper-users] RE: schedule group member's import weekly, Black, Carey M., 08/16/2017
- [grouper-users] RE: schedule group member's import weekly, Sawyer, Mona Zarei, 08/18/2017
- [grouper-users] RE: schedule group member's import weekly, Black, Carey M., 08/16/2017
Archive powered by MHonArc 2.6.19.