Title: Crons
Last modified: June 2, 2024

---

# Crons

 *  Resolved [mapsmarketing](https://wordpress.org/support/users/mapsmarketing/)
 * (@mapsmarketing)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/crons/)
 * Hi [@supportadtribes](https://wordpress.org/support/users/supportadtribes/),
 * I just wanted to make a suggestion in regards to allowing server crons to trigger
   the updating of the feeds.
 * In under your woocommerce-sea.php script file, specifically under the `woosea_project_refresh`
   function, if you were to do the following:
   – Remove: `check_ajax_referer( 'woosea_ajax_nonce','
   security' );`– Remove the role check at: `if ( array_intersect( $allowed_roles,
   $user->roles ) )`
 * It would then allow the user to trigger the cron via server automated crons in
   such a way: [https://example.com.au/wp-admin/admin-ajax.php?action=woosea_project_refresh&project_hash=O3IfGutYiiwzd1W2YaEtN948hfwR12Cm&_wp_http_referer=/wp-admin/admin.php?page=woosea_manage_feed](https://example.com.au/wp-admin/admin-ajax.php?action=woosea_project_refresh&project_hash=O3IfGutYiiwzd1W2YaEtN948hfwR12Cm&_wp_http_referer=/wp-admin/admin.php?page=woosea_manage_feed)
 * Just an idea.
 * Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/crons/#post-17797462)
 * Cool suggestion [@mapsmarketing](https://wordpress.org/support/users/mapsmarketing/)
   thanks!
 * I see you’re requesting this because you might be running server side crons?
 * This is something we’re hoping to make a whole lot easier by switching to using
   Action Scheduler instead of WP Cron directly. We are hoping to implement this
   in the near future, maybe not the next release but possibly the one after. I 
   hope this comes as good news!
 *  Thread Starter [mapsmarketing](https://wordpress.org/support/users/mapsmarketing/)
 * (@mapsmarketing)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/crons/#post-17797469)
 * Hi [@jkohlbach](https://wordpress.org/support/users/jkohlbach/)
 * We run a number of crons to pull in data from a variety of suppliers which gets
   synced to our Woocommerce.
 * I noticed that your plugin was easy to modify to allow for server cron jobs to
   be setup as this was the last piece of my puzzle. Great to hear you guys are 
   moving to Action Scheduler! I’ll leave my bandaid solution in there for now until
   you guys have it ready.
 * Thank you very much on the reply mate

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Crons’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

## Tags

 * [feature](https://wordpress.org/support/topic-tag/feature/)
 * [idea](https://wordpress.org/support/topic-tag/idea/)

 * 2 replies
 * 2 participants
 * Last reply from: [mapsmarketing](https://wordpress.org/support/users/mapsmarketing/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/crons/#post-17797469)
 * Status: resolved