Okay
  Public Ticket #1912363
Cron job no longer bringing in episodes from Podbean
Closed

Comments

  • Mat Murray started the conversation

    Hey,

    My podcast is hosted on Podbean at http://thecomputergameshow.podbean.com/, and we publish new episodes every Wednesday morning (this week's show is already live)

    I've set up a cron job to sync my Podbean RSS feed with my website, which is currently housed at http://s768150027.websitehome.co.uk/

    As of last week, episodes were syncing correctly, but this week, possibly since the last WP and/or Podcastr theme update, it's no longer working. Even when I manually run the Cron job, nothing happens.

    Is there a known issue regarding this? It's worked fine up until now and I haven't touched the Cron settings since I set them up originally.

    Thanks!

    Mat.

  •  1,101
    Max replied

    Hi,

    Um, its weird. i have setup the same setting of you on my local and I can fully sync episode 141 with the cron job.

    For now, i have added the episode manually on your website. let see how it goes next week

    Thanks,


    Max from the Sonaar.io Crew

  • Mat Murray replied

    Thanks Maxime. 

    I deleted the cron job then re-added it and it's now bringing in episodes that I deleted (which I did to test that the Cron was working)

    I've got two questions about Cron jobs though.

    Over the weekend I spent hours in Wordpress changing the HTML formatting and replacing the featured image with a unique image for all 140 episodes. 

    Yesterday every episode revered back to how it was before (previous HTML formatting and the same image for every episode.)

    So, my questions are:

    Do Cron jobs only bring in episodes that weren't present within Wordpress, or can it update episodes that were already in Wordpress with new post content including HTML formatting, featured image, etc?

    If I make changes to the HTML, featured image or title of posts in WP, is that going to be overwritten by the source (Podbean in this case) every time the Cron job runs?

    Thanks in advance!


  •  1,101
    Max replied

    Hi,

    It should not change any data/image to post already imported unless the post has no attachment ID attached to the post.


    I think the issue is because I've run an import on your site without the cronjob. I saved a backup before doing it. want me to put it back?


    Thanks,


    Max from the Sonaar.io Crew

  • Mat Murray replied

    Hey,

    Yes please! And we'll see if that fixes anything.

    Let me know when you've imported the backup.

    Mat.


  •  1,101
    Max replied

    Hi,

    Your server does not have enough memory allocated to WP. please raise your memory limit (you can ask your hosting provider for this). see error message: https://d.pr/i/lNrl3j

    This is mostly caused by the importation which have 315 images to import which is quiet intense on the memory and max_execution_time.


    Thanks,


    Max from the Sonaar.io Crew

  • Mat Murray replied

    Hey.

    I've increased the memory size. So that error should be fixed now.

    Thanks.

    Mat.

  •  1,101

    Thanks,


    Max from the Sonaar.io Crew

  • Mat Murray replied
    Just spoke to my hosting provider who have reassured me that they've maximised my PHP limit.

    Can you try again?

    Sorry!

  •  1,101
    Max replied

    Done !

    the backup from yesterday is restored.

    Thanks,


    Max from the Sonaar.io Crew

  • Mat Murray replied

    Amazing! Thanks for all your hard work. I'll see how that Cron job works now.

    Thanks again. You've been amazing with my requests.

    Mat.

  •  1,101
    Max replied

    you are welcome!

    Thanks,


    Max from the Sonaar.io Crew