Skip to content

Instantly share code, notes, and snippets.

@iArtem88
Created October 26, 2021 15:00
Show Gist options
  • Save iArtem88/c8f64b4e05bf3f818b37dc73b95ef5f8 to your computer and use it in GitHub Desktop.
Save iArtem88/c8f64b4e05bf3f818b37dc73b95ef5f8 to your computer and use it in GitHub Desktop.
redis commands
redis-cli -h
redis-cli INFO keyspace
# Keyspace
db0:keys=44,expires=7,avg_ttl=43781256
db1:keys=6,expires=0,avg_ttl=0
redis-cli -n 0
127.0.0.1:6379> keys *
1) "laravel:5105c1618f136b2577ebf49c8c5bc7413f234553:TAG"
2) ...
127.0.0.1:6379> flushall
OK
127.0.0.1:6379> keys *
(empty list or set)
@iArtem88
Copy link
Author

see cron:

ps aux|grep artisan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment