yes i schedule the event for particular time for my rss feed but it is not showing on my website.Also when i run my site on local server my feed is showing but not working on my live server.
This is my code :
// Set up the environment
if ( ! defined(‘ABSPATH’) ) {
require_once( dirname( dirname( dirname( dirname( _FILE_ ) ) ) ) . ‘/wp-load.php’ );
}
require_once( ABSPATH . ‘wp-admin/includes/admin.php’ );
define( ‘WP_LOAD_IMPORTERS’, true );
require_once( WP_PLUGIN_DIR . ‘/podcast-helper/includes/rss-importer/class-podcast-rss-import.php’ );
// Run manual import process, replace the first parameter to the URL of your feed
Podcast_RSS_Import::run_import( ‘https://communicationdiva.libsyn.com/rss’, $import_category = ‘career’, $import_attachments = true, $import_settings = false );
I am using this plugin https://www.ads-software.com/plugins/wp-crontrol/