› Forums › SNAP – WordPress Plugin Forums › Problem with schedule autopost and cron
Tagged: cron
- This topic has 11 replies, 7 voices, and was last updated 5 years, 7 months ago by Der-Bank-Blog.
- AuthorPosts
- February 21, 2018 at 5:16 am #558317
Hello. I sent ticket more than 10 days ago.
I showing part of my ticket here*****************************************************************************************************************
I have a problem with Cron on my website1.
I’m turn on “Use WP Cron to Schedule autoposts” on “How to make auto-posts?” on SETTINGS TAB and choose interval for Twitter(example) accounts.
But Cron doesn’t work.
Publish Immediately works good.
Tried to configure Cron with these help article http://www.nextscripts.com/tutorials/wp-cron-scheduling-tasks-in-wordpress/
But it doesn’t help. And tech support of hosting also couldn’t help with it. They said that on their side everything good, write to developer.
=====================================================
The first time the key was activated on website2.
On my website2 plugin works good and Cron also. But on others websites doesn’t work.
I almost find problem.
On website2 Cron works and after activated plugin at DB->wp_options->option_name->cron appear string like this
===========================================================================================================================
a:1:{s:19:“nxs_querypost_event”;a:1:{s:32:“40cd750bba9870f18aada2478b24840a”;a:3:{s:8:“schedule”;s:8:“nxsquery”;s:4:“args”;a:0:{}s:8:“interval”;s:2:“60”;}}}
============================================================================================================================
On website1 and others websites where Cron doesn’t work this string absence at DB and Schedule autoposts doesn’t work.
============================================================================================================================
Also I installed “Advanced Cron Manager” on website2 and I see that “nxs_querypost_event” cron task works every 1 minute.
On anoters websites (include website1) in the plugin “nxs_querypost_event” cron task absent.
===========================================================================================================================
Plus on HELP/SUPPORT tab after click on the link “Show Cron Test Results” on website2 I have good results of Cron but on the website2 or anoters website I have result:
“Check is not started yet… Please RELOAD this page in couple minutes.
If you still see this message after several minutes, your cron is NOT RUNNING”
************************************************************************************************************************Please help
Best regards.March 2, 2018 at 11:41 am #558327Hi,
The same is happening to me… I filled a ticket and also a post here: https://www.nextscripts.com/forums/topic/not-cron-tasks-are-being-generated/
Did you manage to fix this? Hope we have a solution soon…Thanks.
March 7, 2018 at 12:29 pm #558332Finally I managed to solve this.
The problem that the cron event “nxs_querypost_event” (which is the one that activates de autoreposter) didn’t exist, so I had to create it. It’s easy to create cron events with the plugi Wp-Crontrol.
Also, my theme (ionMag) was blocking the non-default cron-scheuldes (I could only select every hour, day, week or month), so I has to change to another theme so I could scheulde the event every 15 minutes.SOLVED.
March 8, 2018 at 1:02 pm #558335I have the very same problem. And I thought that wordfence plugin was blocking it.
Finally I managed to solve this.
The problem that the cron event “nxs_querypost_event” (which is the one that activates de autoreposter) didn’t exist, so I had to create it. It’s easy to create cron events with the plugi Wp-Crontrol.
Also, my theme (ionMag) was blocking the non-default cron-scheuldes (I could only select every hour, day, week or month), so I has to change to another theme so I could scheulde the event every 15 minutes.SOLVED.
RU, how did you discover that nxs_querypost_event didn’t exist? And how did you find out that your theme was blocking cron schedules?
- This reply was modified 6 years, 8 months ago by sonofnet@gmail.com.
March 9, 2018 at 12:09 pm #558339Hello,
Just find out those two things on internet, I don’t remember where… With the plugin called “WP-Crontol” you can see the on-going tasks on your WP-Cron. Look if “nxs_querypost_event” is there or not. If it’s not, try toc reate it: just put that name and that’s all you need to create it. No code.
If it gives problems to you (like you can’t create it or you can’t adjust a 60 seconds interval) try to do it changing your theme to one of the defaults from WordPress.March 9, 2018 at 12:51 pm #558341Awesome! Thanks!
March 14, 2018 at 12:41 am #558372I have the very same problem. And I thought that wordfence plugin was blocking it.
Finally I managed to solve this.
The problem that the cron event “nxs_querypost_event” (which is the one that activates de autoreposter) didn’t exist, so I had to create it. It’s easy to create cron events with the plugi Wp-Crontrol.
Also, my theme (ionMag) was blocking the non-default cron-scheuldes (I could only select every hour, day, week or month), so I has to change to another theme so I could scheulde the event every 15 minutes.SOLVED.
<span class=”et_quote_sign”></span>
RU, how did you discover that nxs_querypost_event didn’t exist? And how did you find out that your theme was blocking cron schedules?
Any settings to make the existing theme work? I don’t want to change the theme, wondering what needs to be done to get this working.
March 14, 2018 at 8:15 am #558374There are plugins (like WP-Crontrol) where you can see all the cron tasks going on on your WordPress. I discovered that my theme was blocking the cron task deactivating it and activating one of the default themes.
In my case I had no problem using another theme, but what I could only do would be to talk to the theme author.February 22, 2019 at 2:48 pm #559875Hello,
The cron does exist in mine but it’s still not scheduling. Infact, i can see the cron working in SNAP cron logs file settings page
Any idea on how to detect what is stopping nextscripts from scheduling and saying my cron is not functioning properly?
March 9, 2019 at 1:37 am #559912I have the same prolbem. Log tells that a post is queried but the query remains empty
March 25, 2019 at 8:44 pm #559957Do you have WP Cron setup correctly?
Please go to the Log/History page and check only “All Cron Events” checkbox.
You should see ONLY crons executed from WGET or Mozilla every one or two minutes. If you see nothing at all, calls from “WordPress/4.x.x” or calls made at irregular time intervals, your cron is not set correctly.
March 26, 2019 at 2:49 am #559961The cron is setup correctly. There are no cron errors at all
- AuthorPosts
- You must be logged in to reply to this topic.