redis-cli LPUSH queue job1

Category: Databases & SQL

redis-cli LPUSH queue job1

Push an item onto the head of a list

Lists are ordered collections of strings; LPUSH adds to the left end. Combined with RPOP you get a first-in-first-out queue. Related: RPUSH, LRANGE.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.