エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
ここにツイート内容が記載されます https://b.hatena.ne.jp/URLはspanで囲んでください
Twitterで共有ONにすると、次回以降このダイアログを飛ばしてTwitterに遷移します
多少古いデータでも構わなければ、redis.confで指定した頻度で dump.rdb が更新されているが、RedisのBG... 多少古いデータでも構わなければ、redis.confで指定した頻度で dump.rdb が更新されているが、RedisのBGSAVEコマンドを実行し、LASTSAVEが更新されるのを待つ。 これでdump.rdbが最新の状態となる。 https://gist.github.com/nekoruri/6238957 # !/bin/bash # RedisのBGSAVEコマンドを実行し、redis.rdbが更新されるのを待つ。 # タイムアウト時間を超えたら exit status 1 で終了する。 TIMEOUT=30 # Timeout handler # http://stackoverflow.com/questions/1226094/how-to-include-a-timer-in-bash-scripting set_timer() { trap handle_timer A