action-scheduler
action-scheduler copied to clipboard
WP_CLI Hook filter not supporting "/"
I love using the WP_CLI to prioritize executions of special hooks like webhooks. I create a library to import massive csv files that are automatically split in chunks. To prioritize this import i would love to add a cron that runs every minute and only processes jobs ob this import.
The hook name looks like this: SW/Sync/Amazon/Inventory/process_chunk
The CLI always finishes immediately since it cannot find any jobs. Using the UI as well as the CLI without any filters applied works flawless.
I think there might be a bug how the CLI´s hook filter values are passed to the DB query.