Your currently selected language is English.
Your currently selected location is the United States and your order will be billed in USD. The delivery methods, conditions of sale and delivery points will be updated when you change the country.
keydb-cli --pass MakemkvR0cks! SCRIPT LOAD "$(cat claim_job.lua)" # Push a disc to queue keydb-cli --pass MakemkvR0cks! LPUSH makemkv:queue:waiting "/dev/sr0" Worker loop (simplified) while true; do JOB=$(keydb-cli --pass MakemkvR0cks! EVALSHA <hash> 2 makemkv:queue:waiting makemkv:queue:processing "worker-$$" "/dev/sr0") if [ "$JOB" ]; then makemkvcon mkv disc:0 all /output --progress=-same keydb-cli --pass MakemkvR0cks! HDEL makemkv:queue:processing "worker-$$" fi sleep 2 done
-- Atomic claim from waiting queue to processing -- KEYS[1] = waiting list -- KEYS[2] = processing hash -- ARGV[1] = worker_id (e.g., PID or hostname) -- ARGV[2] = disc_path -- Returns: claimed job info or nil local job = redis.call('LPOP', KEYS[1]) if job then redis.call('HSET', KEYS[2], ARGV[1], job) return job end return nil
Load it: