{"id":137,"date":"2009-02-19T19:25:53","date_gmt":"2009-02-19T08:25:53","guid":{"rendered":"http:\/\/nsrd.wordpress.com\/?p=137"},"modified":"2009-02-19T19:25:53","modified_gmt":"2009-02-19T08:25:53","slug":"getting-jobquery-to-talk-to-you","status":"publish","type":"post","link":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/","title":{"rendered":"Getting jobquery to talk to you"},"content":{"rendered":"<p>I&#8217;ve been using nsradmin for the last 12 years. So when I read about a new utility, &#8216;jobquery&#8217; in NetWorker 7.5, that&#8217;s designed to work in a similar way to nsradmin but query the jobs database instead of the media database, I was looking forward to giving it a go. (This was in no small part to lingering disappointment over how nsrjobsd has been practically a black box since it was introduced.)<\/p>\n<p>So I was rather &#8230; disappointed when I ran jobquery for the first time and it appeared to hang.<\/p>\n<p>Running, say:<\/p>\n<pre># jobquery<\/pre>\n<p>Appeared to hang.<\/p>\n<p>Running, say:<\/p>\n<pre># jobquery -s server<\/pre>\n<p>Also appeared to hang.<\/p>\n<p>Running, say:<\/p>\n<pre># jobquery -s server print<\/pre>\n<p>Didn&#8217;t return a thing.<\/p>\n<p>So I thought maybe this is a tool that was let out of the barn a little too soon, and even went to the point of logging a question case with EMC about it. After all, it appeared to not really work at all.<\/p>\n<p>It turns out I&#8217;d not anticipated that there might have been a simpler problem with <em>jobquery<\/em>, that being &#8230; less than desirable interface design. Let&#8217;s be blunt: if you write an interactive &#8220;shell&#8221; style query interface, it <em>should<\/em> tell the user when it&#8217;s waiting for input.<\/p>\n<p>The problem with the initial invocation attempts was a simple one \u2013 it wasn&#8217;t hanging, but instead, it was waiting for input without <em>telling me<\/em> it was waiting for input. Consequently, I&#8217;m currently asking EMC to file a bug about this. I know the difference between RFEs and bugs \u2013 an RFE is a request for enhancement, or to <em>change<\/em> something that&#8217;s there by design, but a bug is a problem with the actual implementation. Now, someone might argue that maybe this should be filed as an RFE if it was originally designed to <em>not<\/em> show any prompt, but my take on it is that any interface that doesn&#8217;t differentiate between <strong>&#8220;waiting for input&#8221;<\/strong> and <strong>&#8220;processing\/stuck&#8221;<\/strong> is, in actuality, a buggy design.<\/p>\n<p>Oh, and jobquery just doesn&#8217;t like being told what to do in relation to queries on the command line, even though the man page says it will accept it.<\/p>\n<p>If you&#8217;ve been trying to use jobquery and not getting much satisfaction, try it again without waiting for a prompt. Once I got past the lack of prompt, I was quite <em>excited<\/em> by the promise of jobquery \u2013 in fact, I&#8217;m hoping that a future release will actually implement the ability to even <em>stop<\/em> jobs \u2013 e.g., kill off a single saveset, or even say, <em>pause<\/em> a clone\/stage operation.<\/p>\n<p>No doubt jobquery needs some improvements, but it wasn&#8217;t quite the aborted attempt I&#8217;d been initially worried about, and you should give it a go \u2013 you&#8217;ll be pleasantly surprised.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using nsradmin for the last 12 years. So when I read about a new utility, &#8216;jobquery&#8217; in NetWorker&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[16],"tags":[511,1249],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-networker","tag-jobquery","tag-networker"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Preston de Guise\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Data Protection Hub | All things Data Protection\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Getting jobquery to talk to you | Data Protection Hub\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-02-19T08:25:53+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2009-02-19T08:25:53+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Getting jobquery to talk to you | Data Protection Hub\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#article\",\"name\":\"Getting jobquery to talk to you | Data Protection Hub\",\"headline\":\"Getting jobquery to talk to you\",\"author\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"},\"datePublished\":\"2009-02-19T19:25:53+10:00\",\"dateModified\":\"2009-02-19T19:25:53+10:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#webpage\"},\"articleSection\":\"NetWorker, jobquery, NetWorker\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/nsrd.info\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/#listItem\",\"name\":\"NetWorker\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/#listItem\",\"position\":2,\"name\":\"NetWorker\",\"item\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#listItem\",\"name\":\"Getting jobquery to talk to you\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#listItem\",\"position\":3,\"name\":\"Getting jobquery to talk to you\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/category\\\/networker\\\/#listItem\",\"name\":\"NetWorker\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\",\"name\":\"Preston de Guise\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/\",\"name\":\"Preston de Guise\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Preston de Guise\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#webpage\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/\",\"name\":\"Getting jobquery to talk to you | Data Protection Hub\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/2009\\\/02\\\/19\\\/getting-jobquery-to-talk-to-you\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/author\\\/nsrd\\\/#author\"},\"datePublished\":\"2009-02-19T19:25:53+10:00\",\"dateModified\":\"2009-02-19T19:25:53+10:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/\",\"name\":\"Data Protection Hub\",\"description\":\"All things Data Protection\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/nsrd.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Getting jobquery to talk to you | Data Protection Hub","description":"","canonical_url":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#article","name":"Getting jobquery to talk to you | Data Protection Hub","headline":"Getting jobquery to talk to you","author":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"publisher":{"@id":"https:\/\/nsrd.info\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"},"datePublished":"2009-02-19T19:25:53+10:00","dateModified":"2009-02-19T19:25:53+10:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#webpage"},"isPartOf":{"@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#webpage"},"articleSection":"NetWorker, jobquery, NetWorker"},{"@type":"BreadcrumbList","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog#listItem","position":1,"name":"Home","item":"https:\/\/nsrd.info\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/networker\/#listItem","name":"NetWorker"}},{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/networker\/#listItem","position":2,"name":"NetWorker","item":"https:\/\/nsrd.info\/blog\/category\/networker\/","nextItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#listItem","name":"Getting jobquery to talk to you"},"previousItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#listItem","position":3,"name":"Getting jobquery to talk to you","previousItem":{"@type":"ListItem","@id":"https:\/\/nsrd.info\/blog\/category\/networker\/#listItem","name":"NetWorker"}}]},{"@type":"Person","@id":"https:\/\/nsrd.info\/blog\/#person","name":"Preston de Guise","image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"}},{"@type":"Person","@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author","url":"https:\/\/nsrd.info\/blog\/author\/nsrd\/","name":"Preston de Guise","image":{"@type":"ImageObject","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d274b0939f505e2f4b85a111bdf61ff0fafc11f17dcd667d16a47d0a3de63a1d?s=96&d=mm&r=g","width":96,"height":96,"caption":"Preston de Guise"}},{"@type":"WebPage","@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#webpage","url":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/","name":"Getting jobquery to talk to you | Data Protection Hub","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/nsrd.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/#breadcrumblist"},"author":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"creator":{"@id":"https:\/\/nsrd.info\/blog\/author\/nsrd\/#author"},"datePublished":"2009-02-19T19:25:53+10:00","dateModified":"2009-02-19T19:25:53+10:00"},{"@type":"WebSite","@id":"https:\/\/nsrd.info\/blog\/#website","url":"https:\/\/nsrd.info\/blog\/","name":"Data Protection Hub","description":"All things Data Protection","inLanguage":"en-US","publisher":{"@id":"https:\/\/nsrd.info\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Data Protection Hub | All things Data Protection","og:type":"article","og:title":"Getting jobquery to talk to you | Data Protection Hub","og:url":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/","article:published_time":"2009-02-19T08:25:53+00:00","article:modified_time":"2009-02-19T08:25:53+00:00","twitter:card":"summary","twitter:title":"Getting jobquery to talk to you | Data Protection Hub"},"aioseo_meta_data":{"post_id":"137","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 05:11:08","updated":"2025-07-20 04:09:26","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nsrd.info\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/nsrd.info\/blog\/category\/networker\/\" title=\"NetWorker\">NetWorker<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tGetting jobquery to talk to you\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/nsrd.info\/blog"},{"label":"NetWorker","link":"https:\/\/nsrd.info\/blog\/category\/networker\/"},{"label":"Getting jobquery to talk to you","link":"https:\/\/nsrd.info\/blog\/2009\/02\/19\/getting-jobquery-to-talk-to-you\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pKpIN-2d","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":0,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"wp:attachment":[{"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsrd.info\/blog\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}