Ask Your Question
0

How often (at what frequency) does DataONE harvest Member Node metadata?

asked 2014-07-18 14:05:46 -0500

cobb gravatar image

How often (at what frequency) does DataONE harvest Member Node metadata?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-19 12:44:02 -0500

updated 2014-07-19 12:58:31 -0500

The MN sets the schedule when they call CNRegister.register() for their node. The schedule can be updated using CNRegister.updateNodeCapabilities(). The schedule is visible for any given node in their node registry entry, which can be viewed from the CNCore.listNodes() service. You can see the current list of nodes and their sync schedules with a curl command like this:

curl  https://cn.dataone.org/cn/v1/node

The schedule lines will be embedded in that output, such as:

<schedule hour="*" mday="*" min="0/3" mon="*" sec="10" wday="?" year="*"/>

which says to sync once every 3 minutes on the 10 second mark. Documentation of the schedule format is in the Quartz Scheduler documentation.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2014-07-18 14:05:46 -0500

Seen: 252 times

Last updated: Jul 19 '14