I have to update several tables to clean stacked cron jobs on a wordpress multisite install.
The network has 500+ plus sites and tables in wordpress are numbered so you will have:
wp_options
wp_1_options // for blog id 1
wp_2_options
wp_3_options
// and so on...
I was wondering if there is any wildcard I could use to replace that blog id number so it will take all the tables from 1 to x number at once. I tried with wp_*_options
without any possitive result. (I'm not use to work with the DBs directly).
The query I'll be executing looks like this:
UPDATE wp_options SET option_value = '' WHERE option_name = 'cron';
Thanks.