Because of the big number of comments, that is transforming my blog into a chat, I want to held all comments in moderation and automatic approve all of them every 2 hours by cronjob.
I know how to set the cronjob in cpanel, but I don’t know what is the exact command to run.
I made it throw a mysql query, but in this way I can’t use wp-cache and comment subscriptions. So, I have to run the job throw a wordpress command.
- The topic ‘Moderate comments with cronjob’ is closed to new replies.