create sqlite db
sqlite3 gear-queue.db
CREATE TABLE gearman_queue(unique_key TEXT PRIMARY KEY,function_name TEXT,when_to_run INTEGER,priority INTEGER,data BLOB);
vi /etc/default/gearman-job-server
params="gearmand -q libsqlite3 --libsqlite3-db=/tmp/xx.sqlite"
sqlite3 gear-queue.db
CREATE TABLE gearman_queue(unique_key TEXT PRIMARY KEY,function_name TEXT,when_to_run INTEGER,priority INTEGER,data BLOB);
vi /etc/default/gearman-job-server
params="gearmand -q libsqlite3 --libsqlite3-db=/tmp/xx.sqlite"
No comments:
Post a Comment