I'm on centOS 7 and I have a WordPress site. Due to some problems with the WordPress default wp-cron settings, I have chosen to do the cron tasks with my server instead. I have used this command:
wget http://www.example.com/wp-cron.php?doing_wp_cron=1 > /dev/null 2>&1
to run every 10 minutes. This works, every ten minutes it try to wget that page but it doesn't generate any outputs and the WordPress cron tasks are not executed.
Furthermore, if I try to open the page: http://www.example.com/wp-cron.php?doing_wp_cron=1 by myself on my browser, I get a blank page... Is this an error? I don't get any message in the Apache error log.
> /dev/null 2>&1
after any command is going to not have any output. What do you think it's supposed to mean?