I'm trying to run every wp-cron.php
included in my /var/www/
subdirs.
I have multiple websites inside /var/www/
, so I tried doing something like this:
find /var/www/ -ipath */wp-cron.php -exec php -q "{}" \;
But other files are executed, not related to wp-cron.php
. What's wrong with the command above?