trouble calling an import class from an action in a plugin before wp_cron executes

i solved my own problem by giving up and using wordpress’s fetch_feed function https://codex.wordpress.org/Function_Reference/fetch_feed

this works well for me because i dont have to worry about timing when calling parameters.