{"id":198,"date":"2016-02-10T14:37:06","date_gmt":"2016-02-10T05:37:06","guid":{"rendered":"https:\/\/www.crestboz.co.jp\/techblog\/?p=198"},"modified":"2016-09-17T17:08:25","modified_gmt":"2016-09-17T08:08:25","slug":"expect%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%a6scp%e3%81%ae%e5%ae%9f%e8%a1%8c%e3%82%92cron%e3%81%a7%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af","status":"publish","type":"post","link":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/","title":{"rendered":"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f"},"content":{"rendered":"<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306essh\u30b5\u30fc\u30d0\u304b\u3089scp\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u4f5c\u696d\u306f\u3001\u624b\u52d5\u306e\u5834\u5408\u306f\u975e\u5e38\u306b\u5358\u7d14\u306a\u3082\u306e\u3067\u3059\u3002\u3057\u304b\u3057\u3053\u308c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f\u3001\u5bfe\u8a71\u578b\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u305f\u3081\u3001\u4f5c\u6210\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5c11\u3057\u5de5\u592b\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3001<strong>expect<\/strong>\u30b3\u30de\u30f3\u30c9(\u5bfe\u8a71\u578b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u81ea\u52d5\u5316)\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u4e2d\u3067\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u884c\u3046\u300d\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b.png\" rel=\"attachment wp-att-202\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b-300x270.png\" alt=\"expect\u30b3\u30de\u30f3\u30c9\" width=\"300\" height=\"270\" class=\"alignright size-medium wp-image-202\" \/><\/a><br \/>\n\u307e\u305a\u524d\u63d0\u3068\u3057\u3066\u3001\u8ee2\u9001\u5143\u30d5\u30a1\u30a4\u30eb\u304c\u7f6e\u3044\u3066\u3042\u308b\u30b5\u30fc\u30d0\u540d\u3092crest\u3068\u3057\u307e\u3059\u3002\u30a2\u30ab\u30a6\u30f3\u30c8\u540d\u3092crest-user\u3001\u8ee2\u9001\u5143\u30d5\u30a1\u30a4\u30eb\u304c\u7f6e\u3044\u3066\u3042\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\/home\/crest\u3068\u3057\u3001\u30b3\u30d4\u30fc\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u540d\u3092exm.txt\u3068\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u8ee2\u9001\u5148\u306ePC\u540d\u3092boz\u3068\u3057\u307e\u3059\u3002\u8ee2\u9001\u5148\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\/home\/boz\u3068\u3057\u307e\u3059\u3002boz\u4e0a\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304f\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092Cron\u3067\u52d5\u4f5c\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false highlight:0 nums:true lang:sh decode:false \">#!\/bin\/bash\r\n\r\nHOST='crest'\r\nHOST_USER='crest-user'\r\n\r\nPOS='\/home\/crest'\r\nFNAME='exm.txt'\r\n\r\nDATE=`date +\"%Y%m%d%H%M\"`\r\n\r\nPSWD='\u30d1\u30b9\u30ef\u30fc\u30c9\\n' # ssh\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a18\u8ff0\r\n\r\nTO_DIR='\/home\/boz'\r\n\r\nexpect -c \"\r\nspawn scp $HOST_USER@$HOST:$POS\/$DIR\/$FNAME $TO_DIR\/$FNAME.$DATE\r\nexpect \\\"$HOST_USER@$HOST's password: \\\" {\r\nsend \\\"$PSWD\\\"\r\n}\r\ninteract\r\n\"<\/pre>\n<p>\u3053\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u306f\u554f\u984c\u306a\u304f\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u3053\u306e\u307e\u307eCron\u3067\u52d5\u4f5c\u3055\u305b\u3088\u3046\u3068\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u3046\u307e\u304f\u52d5\u4f5c\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u30ed\u30b0\u30a4\u30f3\u3068Cron\u3067\u306f\u52d5\u4f5c\u74b0\u5883\u304c\u7570\u306a\u308b\u305f\u3081\u8d77\u3053\u308b\u73fe\u8c61\u306e\u3088\u3046\u3067\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306f\u300120\u884c\u76ee\u306e\u300cinteract\u300d\u3092\u300cexpect eof exit\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false highlight:0 nums:true lang:sh decode:false \">#!\/bin\/bash\r\n\r\nHOST='crest'\r\nHOST_USER='crest-user'\r\n\r\nPOS='\/home\/crest'\r\nFNAME='exm.txt'\r\n\r\nDATE=`date +\"%Y%m%d%H%M\"`\r\n\r\nPSWD='\u30d1\u30b9\u30ef\u30fc\u30c9\\n' # ssh\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a18\u8ff0\r\n\r\nTO_DIR='\/home\/boz'\r\n\r\nexpect -c \"\r\nspawn scp $HOST_USER@$HOST:$POS\/$DIR\/$FNAME $TO_DIR\/$FNAME.$DATE\r\nexpect \\\"$HOST_USER@$HOST's password: \\\" {\r\nsend \\\"$PSWD\\\"\r\n}\r\nexpect eof\r\nexit\r\n\"<\/pre>\n<p>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u305f\u3081\u3001\u30a2\u30af\u30bb\u30b9\u5236\u9650\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u306e\u4f7f\u7528\u306b\u9650\u308b\u306a\u3069\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u3001\u5341\u5206\u306b\u6ce8\u610f\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306essh\u30b5\u30fc\u30d0\u304b\u3089scp\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u4f5c\u696d\u306f\u3001\u624b\u52d5\u306e\u5834\u5408\u306f\u975e\u5e38\u306b\u5358\u7d14\u306a\u3082\u306e\u3067\u3059\u3002\u3057\u304b\u3057\u3053\u308c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f\u3001\u5bfe\u8a71\u578b\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u305f\u3081\u3001\u4f5c\u6210\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5c11\u3057\u5de5\u592b\u304c\u5fc5\u8981 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-198","post","type-post","status-publish","format-standard","hentry","category-linux","wpautop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f - \u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f - \u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306essh\u30b5\u30fc\u30d0\u304b\u3089scp\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u4f5c\u696d\u306f\u3001\u624b\u52d5\u306e\u5834\u5408\u306f\u975e\u5e38\u306b\u5358\u7d14\u306a\u3082\u306e\u3067\u3059\u3002\u3057\u304b\u3057\u3053\u308c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f\u3001\u5bfe\u8a71\u578b\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u305f\u3081\u3001\u4f5c\u6210\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5c11\u3057\u5de5\u592b\u304c\u5fc5\u8981 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/\" \/>\n<meta property=\"og:site_name\" content=\"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/crestboz\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-10T05:37:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-09-17T08:08:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b-300x270.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@crestboz\" \/>\n<meta name=\"twitter:site\" content=\"@crestboz\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f\",\"datePublished\":\"2016-02-10T05:37:06+00:00\",\"dateModified\":\"2016-09-17T08:08:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/\"},\"wordCount\":25,\"publisher\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b-300x270.png\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/\",\"url\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/\",\"name\":\"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f - \u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b-300x270.png\",\"datePublished\":\"2016-02-10T05:37:06+00:00\",\"dateModified\":\"2016-09-17T08:08:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\/\/www.crestboz.co.jp\/techblog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/#website\",\"url\":\"https:\/\/www.crestboz.co.jp\/techblog\/\",\"name\":\"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0\",\"description\":\"IT\u95a2\u9023\u306e\u6280\u8853\u7684\u306a\u3053\u3068\u306b\u95a2\u3057\u3066\u8abf\u67fb\u3057\u305f\u3053\u3068\u306a\u3069\u3092\u516c\u958b\u3059\u308b\u30d6\u30ed\u30b0\u3067\u3059\",\"publisher\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.crestboz.co.jp\/techblog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/#organization\",\"name\":\"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba\u682a\u5f0f\u4f1a\u793e\",\"url\":\"https:\/\/www.crestboz.co.jp\/techblog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2019\/12\/robot.png\",\"contentUrl\":\"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2019\/12\/robot.png\",\"width\":387,\"height\":387,\"caption\":\"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba\u682a\u5f0f\u4f1a\u793e\"},\"image\":{\"@id\":\"https:\/\/www.crestboz.co.jp\/techblog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/crestboz\",\"https:\/\/x.com\/crestboz\"]},{\"@type\":\"Person\",\"@id\":\"\",\"url\":\"https:\/\/www.crestboz.co.jp\/techblog\/archives\/author\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f - \u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/","og_locale":"ja_JP","og_type":"article","og_title":"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f - \u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0","og_description":"\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306essh\u30b5\u30fc\u30d0\u304b\u3089scp\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u4f5c\u696d\u306f\u3001\u624b\u52d5\u306e\u5834\u5408\u306f\u975e\u5e38\u306b\u5358\u7d14\u306a\u3082\u306e\u3067\u3059\u3002\u3057\u304b\u3057\u3053\u308c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f\u3001\u5bfe\u8a71\u578b\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u305f\u3081\u3001\u4f5c\u6210\u3059\u308b\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5c11\u3057\u5de5\u592b\u304c\u5fc5\u8981 [&hellip;]","og_url":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/","og_site_name":"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/crestboz","article_published_time":"2016-02-10T05:37:06+00:00","article_modified_time":"2016-09-17T08:08:25+00:00","og_image":[{"url":"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b-300x270.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_creator":"@crestboz","twitter_site":"@crestboz","twitter_misc":{"\u57f7\u7b46\u8005":"","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#article","isPartOf":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/"},"author":{"name":"","@id":""},"headline":"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f","datePublished":"2016-02-10T05:37:06+00:00","dateModified":"2016-09-17T08:08:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/"},"wordCount":25,"publisher":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/#organization"},"image":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage"},"thumbnailUrl":"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b-300x270.png","articleSection":["Linux"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/","url":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/","name":"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f - \u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage"},"image":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage"},"thumbnailUrl":"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2016\/02\/87323cbd95e2a01dd4477da1b018238b-300x270.png","datePublished":"2016-02-10T05:37:06+00:00","dateModified":"2016-09-17T08:08:25+00:00","breadcrumb":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/198\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.crestboz.co.jp\/techblog\/"},{"@type":"ListItem","position":2,"name":"expect\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066scp\u306e\u5b9f\u884c\u3092Cron\u3067\u5b9f\u88c5\u3059\u308b\u306b\u306f"}]},{"@type":"WebSite","@id":"https:\/\/www.crestboz.co.jp\/techblog\/#website","url":"https:\/\/www.crestboz.co.jp\/techblog\/","name":"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba::\u6280\u8853\u8005\u30d6\u30ed\u30b0","description":"IT\u95a2\u9023\u306e\u6280\u8853\u7684\u306a\u3053\u3068\u306b\u95a2\u3057\u3066\u8abf\u67fb\u3057\u305f\u3053\u3068\u306a\u3069\u3092\u516c\u958b\u3059\u308b\u30d6\u30ed\u30b0\u3067\u3059","publisher":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.crestboz.co.jp\/techblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.crestboz.co.jp\/techblog\/#organization","name":"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba\u682a\u5f0f\u4f1a\u793e","url":"https:\/\/www.crestboz.co.jp\/techblog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.crestboz.co.jp\/techblog\/#\/schema\/logo\/image\/","url":"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2019\/12\/robot.png","contentUrl":"https:\/\/www.crestboz.co.jp\/techblog\/wp-content\/uploads\/2019\/12\/robot.png","width":387,"height":387,"caption":"\u30af\u30ec\u30b9\u30c8\u30dc\u30a6\u30ba\u682a\u5f0f\u4f1a\u793e"},"image":{"@id":"https:\/\/www.crestboz.co.jp\/techblog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/crestboz","https:\/\/x.com\/crestboz"]},{"@type":"Person","@id":"","url":"https:\/\/www.crestboz.co.jp\/techblog\/archives\/author\/"}]}},"_links":{"self":[{"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/posts\/198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/comments?post=198"}],"version-history":[{"count":0,"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/posts\/198\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/media?parent=198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/categories?post=198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.crestboz.co.jp\/techblog\/wp-json\/wp\/v2\/tags?post=198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}