Title: Make cron optional
Last modified: November 21, 2016

---

# Make cron optional

 *  [YuMyo](https://wordpress.org/support/users/nikho/)
 * (@nikho)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/make-cron-optional/)
 * Hi,
 * the plugin works smoothly, however, the `yourls_click_cron` that runs every hour
   is something that could have a huge server overhead for sites with many posts.
 * More in detail, it takes all of the articles with a short link and per each article
   call the **Yourls site** to check the `get_single_click_count` and then updates
   the `_yourls_clicks` post_meta value back. While this could work for small sites
   imagine this running every hour for a site with more than 10000 posts (magazines,
   newspapers and alike).
 * Also, since we could check each URL clicks on the Yourls site, I doubt that having
   this value saved in the database is of any use at all except the edge case when
   someone wants to order articles by Yourls clicks. But even in this case, I won’t
   probably do it every hour.
 * Anyway, in our setup we had to comment out the `yourls_cron` but for the future
   would be nice to exclude it via plugin settings.
    -  This topic was modified 9 years, 4 months ago by [YuMyo](https://wordpress.org/support/users/nikho/).

The topic ‘Make cron optional’ is closed to new replies.

 * ![](https://ps.w.org/yourls-link-creator/assets/icon-256x256.png?rev=1081567)
 * [YOURLS Link Creator](https://wordpress.org/plugins/yourls-link-creator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yourls-link-creator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yourls-link-creator/)
 * [Active Topics](https://wordpress.org/support/plugin/yourls-link-creator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yourls-link-creator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yourls-link-creator/reviews/)

## Tags

 * [cron](https://wordpress.org/support/topic-tag/cron/)
 * [yourls](https://wordpress.org/support/topic-tag/yourls/)

 * 0 replies
 * 1 participant
 * Last reply from: [YuMyo](https://wordpress.org/support/users/nikho/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/make-cron-optional/)
 * Status: not resolved