Title: [Plugin: Warm Cache] How to call this plugin correctly?
Last modified: August 19, 2016

---

# [Plugin: Warm Cache] How to call this plugin correctly?

 *  [Delete Me](https://wordpress.org/support/users/lincolnadams/)
 * (@lincolnadams)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly/)
 * I’d like to use this plugin but I’m not sure how to call it correctly from a 
   cron job. I tried using wget and curl such as follows:
 * wget [http://www.xxxx.com/?warm_cache=v&G64Fr*q9at](http://www.xxxx.com/?warm_cache=v&G64Fr*q9at)
 * But I just get an error that says: “/bin/sh: G64Fr*q9at: command not found”
 * Can you provide the correct instructions on utilizing a cron job properly so 
   the plugin works?
 * [http://wordpress.org/extend/plugins/warm-cache/](http://wordpress.org/extend/plugins/warm-cache/)

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

 *  Thread Starter [Delete Me](https://wordpress.org/support/users/lincolnadams/)
 * (@lincolnadams)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly/#post-1826407)
 * I placed the link in quotes to prevent the error, but it still appears to do 
   nothing except load the link like a normal web page. Any help appreciated!
 *  [swanzai](https://wordpress.org/support/users/swanzai/)
 * (@swanzai)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly/#post-1826701)
 * I think the problem lies in line 103 of warm-cache.php. It uses the command wp_generate_password()
   to create the variable plugin_warm_cache_api, which is the warm_cache=URL . wp_generate_password()
   by default uses special characters to be more secure, but these characters don’t
   seem to work with cron or in a URL format in general.
    In my case, % and ) caused
   either cron to fail, or the URL to just resolve my homepage. You’ve got a whole
   cl&sterf*ck.
 * Anyway, I changed my plugin_warm_cache_api variable manually in the database,
   and added $special_chars = false to the wp_generate_password() command for good
   measure. Seems to have done the trick.
 * `add_option('plugin_warm_cache_api',wp_generate_password($special_chars = false));`
 *  Plugin Author [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * (@ramon-fincken)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly/#post-1826702)
 * Calling the plugin should be done using a cronjob on your webhost/webhosting-
   controlpanel.
 * The call you should do is a wget or a curl call. the commands for that differ
   from operating system (like debian,centos) or controlpanel (like direct admin/
   plesk)
    Examples [http://www.ramonfincken.com/permalink/topic22.html](http://www.ramonfincken.com/permalink/topic22.html)
   and [http://www.ramonfincken.com/permalink/topic23.html](http://www.ramonfincken.com/permalink/topic23.html)
 * Placing quotes will help in special characters, I will update the plugin to delete
   those characters.
 * If you copy paste and open the “page” you should see something like this:
 * > Busy with: [http://www.mijnpress.nl/](http://www.mijnpress.nl/)
   >  Busy with:
   > [http://www.mijnpress.nl/2011/pattaas-nl/](http://www.mijnpress.nl/2011/pattaas-nl/)[
   > some more] Done! Crawled 58 pages in 47.5321531296 seconds.
 *  Plugin Author [ramon fincken](https://wordpress.org/support/users/ramon-fincken/)
 * (@ramon-fincken)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly/#post-1826703)
 * Committing new version right now
 * > = 1.1.2 =
   >  Changed: Random password call as mentioned by swanzai [http://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly](http://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly)
 *  Thread Starter [Delete Me](https://wordpress.org/support/users/lincolnadams/)
 * (@lincolnadams)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly/#post-1826704)
 * Haven’t revisited this plugin in a while, once I have time I’ll give it another
   try. 😀

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

The topic ‘[Plugin: Warm Cache] How to call this plugin correctly?’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/warm-cache.svg)
 * [Warm Cache](https://wordpress.org/plugins/warm-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/warm-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/warm-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/warm-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/warm-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/warm-cache/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Delete Me](https://wordpress.org/support/users/lincolnadams/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-warm-cache-how-to-call-this-plugin-correctly/#post-1826704)
 * Status: not resolved