{"width":"100%","version":"1.0","url":"https://nefo.hatenablog.com/entry/20120515/1337034623","title":" rbenv\u306eruby\u30b9\u30af\u30ea\u30d7\u30c8\u3092cron\u3067\u51e6\u7406\u3059\u308b\u65b9\u6cd5","categories":[],"blog_url":"https://nefo.hatenablog.com/","image_url":null,"height":"190","author_url":"https://blog.hatena.ne.jp/nefo_mi/","provider_url":"https://hatena.blog","description":"\u74b0\u5883\u306f\u3055\u304f\u3089VPS\u4e0a\u306eUbuntu Server\u3067\u3059\u3002 \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u30ed\u30b0\u306f\u3053\u3053\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3064\u3044\u3067\u306brbenv\u306b\u4e57\u308a\u63db\u3048\u305f\u306e\u3060\u3051\u308c\u3069 cron\u3067ruby\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u52d5\u304b\u305d\u3046\u3068\u3057\u3066\u30cf\u30de\u308a\u307e\u3057\u305f\u3002 \u3068\u308a\u3042\u3048\u305a\u52d5\u3051\u3070\u3044\u3044\u3084 \u3063\u3066\u3053\u3068\u3067cron\u3058\u3083\u306a\u304f\u3066\u3001\u7121\u9650\u30eb\u30fc\u30d7\u3055\u305b\u3066\u305f while :; do ./homu.rb; sleep 3600; done \u3051\u308c\u3069\u30bf\u30fc\u30df\u30ca\u30eb\u304c\u3072\u3068\u3064\u3064\u3076\u308c\u308b\u3057\u30a2\u30ec\u306a\u306e\u3067\u89e3\u6c7a\u7b56\u3092\u63a2\u3057\u3066\u307f\u305f\u3002 cron\u3067\u51e6\u7406\u3059\u308b\u65b9\u6cd5 \u4ee5\u4e0b\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8 stackoverflow/ruby script using rbenv in cron Mae\u306e(Mae\u5411\u304d\u306a)\u65e5\u8a18/cron\u3067rbe\u2026","author_name":"nefo_mi","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnefo.hatenablog.com%2Fentry%2F20120515%2F1337034623\" title=\" rbenv\u306eruby\u30b9\u30af\u30ea\u30d7\u30c8\u3092cron\u3067\u51e6\u7406\u3059\u308b\u65b9\u6cd5 - \u3058\u3083\u3001\u307e\u3001\u3044\u3063\u304b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3058\u3083\u3001\u307e\u3001\u3044\u3063\u304b","type":"rich","provider_name":"Hatena Blog","published":"2012-05-15 07:30:23"}