With Pro Radio Podcast Importer you can set an automatic schedued task to import the active feeds at a given interval (see settings).

 

The Cron is by default disabled.

To activate the Podcast Importer Cron:

  • Open the Podcast Importer settings
  • Click "Activate Cron"
  • If the option is correctly scheduled, a confirmation message will appear (Cron is active, Next Run).

Cron Job and Wp Cron

The task is scheduled using Wp Cron. This runs the command when a visitor opens the website. If your website has low traffic, you can create a standard Cron in your server, using cpanel or similar.

1) Add this line in wp-config.php


define('DISABLE_WP_CRON', true);

2) Add this cron to your cpanel


*/* * * * * wget -q -O - 'https://PUT-HERE-YOUR-SITE-URL/wp-cron.php?doing_wp_cron' >/dev/null 2>&1

 

So that the Cron runs this command every minute:

wget -q -O - 'https://PUT-HERE-YOUR-SITE-URL/wp-cron.php?doing_wp_cron' >/dev/null 2>&1

Of course, replace PUT-HERE-YOUR-SITE-URL with your real site URL.

 

If you already have a Cron Job set for Sidekick, it will run both Sidekick and the Podcast Importer.

https://www.youtube.com/watch?v=gUZYejWg6GY&ab_channel=ProRadio

 

آیا این پاسخ به شما کمک کرد؟ 0 کاربر این را مفید یافتند (0 نظرات)