Forum
Twitter App - Auto-Updating
Hi guys,
I've been using the Twitter app for a while now across multiple sites, and I've noticed that it will occasionally fail to auto-update (even though it's set to automatically update every 10 - 30 minutes, depending on the site).
Is this known, and is there a solution?
Thanks, Harry
Auto-updating happens via your cron script so you would need to check to see if that is running regularly and if there are any errors in the log.
Of course it is also possible that for some reason no tweets were returned - for example an error from the API.
Hi Rachel,
This is just set through the Twitter apps auto-update feature - where would I see any CRON errors?
Thanks!
Hi,
I have had an issue with cron jobs on some hosts. Where the suggestion in Perch (which works most of the time) is something like:
I have occasionally had to use:
Maybe give this a try and see if it helps
Hi Mike,
Great - that looks like it could help, where would I put that?
Thanks, Harry
That is what you need to set as the cron job running to fetch the tweets. How are you running them at the moment?
I am only a cPanel person, so if you have that you need to go to "Cron Jobs" in the "Advanced" section then put that in the Command section of "Add New Cron Job".
The Twitter app can only auto-update if you have configured a scheduled task. Otherwise you have to do it by clicking the button.
https://docs.grabaperch.com/docs/scheduled-tasks/
Okay, thanks for the help both.