Rename cron command to KEYDB.CRON and add help
Former-commit-id: 3eb847e28f6df45528dcebc6761290ff60248e78
This commit is contained in:
parent
ec4eb534d7
commit
765ffea018
@ -1168,7 +1168,13 @@ struct commandHelp {
|
||||
"destination numkeys key [key ...] [WEIGHTS weight] [AGGREGATE SUM|MIN|MAX]",
|
||||
"Add multiple sorted sets and store the resulting sorted set in a new key",
|
||||
4,
|
||||
"2.0.0" }
|
||||
"2.0.0" },
|
||||
{ "KEYDB.CRON",
|
||||
"name [single/repeat] [optional: start] delay script numkeys [key N] [arg N]",
|
||||
"Run a specified script after start + delay, optionally repeating every delay interval. The job may be cancelled by deleting the key associated with the job (name parameter)",
|
||||
10,
|
||||
"6.5.2"
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -1026,7 +1026,7 @@ struct redisCommand redisCommandTable[] = {
|
||||
"read-only fast noprop",
|
||||
0,NULL,0,0,0,0,0,0},
|
||||
|
||||
{"cron",cronCommand,-5,
|
||||
{"keydb.cron",cronCommand,-5,
|
||||
"write use-memory",
|
||||
0,NULL,1,1,1,0,0,0},
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user