{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/472","repository_url":"https://api.github.com/repos/sul-dlss/preservation_catalog","labels_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/472/comments","events_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/472/events","html_url":"https://github.com/sul-dlss/preservation_catalog/issues/472","id":289755237,"number":472,"title":"(C2M) run C2M \"continuously\" against the least recently checked catalog entries","user":{"login":"jmartin-sul","id":7741604,"avatar_url":"https://avatars1.githubusercontent.com/u/7741604?v=4","gravatar_id":"","url":"https://api.github.com/users/jmartin-sul","html_url":"https://github.com/jmartin-sul","followers_url":"https://api.github.com/users/jmartin-sul/followers","following_url":"https://api.github.com/users/jmartin-sul/following{/other_user}","gists_url":"https://api.github.com/users/jmartin-sul/gists{/gist_id}","starred_url":"https://api.github.com/users/jmartin-sul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmartin-sul/subscriptions","organizations_url":"https://api.github.com/users/jmartin-sul/orgs","repos_url":"https://api.github.com/users/jmartin-sul/repos","events_url":"https://api.github.com/users/jmartin-sul/events{/privacy}","received_events_url":"https://api.github.com/users/jmartin-sul/received_events","type":"User","site_admin":false},"labels":[{"id":719219492,"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/labels/backlog","name":"backlog","color":"ededed","default":false},{"id":816803309,"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/labels/catalog%20to%20moab","name":"catalog to moab","color":"da70d6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-18T19:53:52Z","updated_at":"2018-05-22T00:59:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"questions:\n* what's the mechanism?  cron job via whenever gem?\n* should we add a lock file (or similar, e.g. flag in the DB) indicating that C2M `check_existence` is already running, so that the cron jobs don't step on one another and pick up the same list of least-recently-checked objects if they run long?"},"comment":{"url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/comments/390829734","html_url":"https://github.com/sul-dlss/preservation_catalog/issues/472#issuecomment-390829734","issue_url":"https://api.github.com/repos/sul-dlss/preservation_catalog/issues/472","id":390829734,"user":{"login":"ndushay","id":96775,"avatar_url":"https://avatars0.githubusercontent.com/u/96775?v=4","gravatar_id":"","url":"https://api.github.com/users/ndushay","html_url":"https://github.com/ndushay","followers_url":"https://api.github.com/users/ndushay/followers","following_url":"https://api.github.com/users/ndushay/following{/other_user}","gists_url":"https://api.github.com/users/ndushay/gists{/gist_id}","starred_url":"https://api.github.com/users/ndushay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndushay/subscriptions","organizations_url":"https://api.github.com/users/ndushay/orgs","repos_url":"https://api.github.com/users/ndushay/repos","events_url":"https://api.github.com/users/ndushay/events{/privacy}","received_events_url":"https://api.github.com/users/ndushay/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T00:59:37Z","updated_at":"2018-05-22T00:59:37Z","author_association":"MEMBER","body":"current plan, in #648, is to run every other week via cron (whenever).\n\nafter that, we may do any of the following:\n- run all the roots in parallell, effectively starting a job that runs the rake task for a single storage root ... for each of the storage roots.\n    - determine the longest time needed for any storage root, and possibly run cron every XXX depending on that interval. \n- switch to using redis to kick off C2M for individual druids"}}
{"actor":{"display_login":"ndushay"}}