Title: Cron problem
Last modified: August 21, 2016

---

# Cron problem

 *  Resolved [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/)
 * Using the lastest WordPress and most upto date Bullet, I’m trying to get a cron
   to work which actives a plugin to bring info in… but it’s coming up permission
   not allowed..
 * Checking with Hostgator they said it’s due to the .htacess file being projected
   by security….
 * Is there anyway around allowing this cron to access the file or should we just
   look for a different plugin to bring the info in?
 * thanks
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/topic/cron-problem-1/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/cron-problem-1/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/cron-problem-1/page/2/?output_format=md)

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977567)
 * Most likely the cron is a wget cron and is being blocked by these nuisance filters.
 *     ```
       RewriteCond %{HTTP_USER_AGENT} (havij|libwww-perl|wget|python|nikto|curl|scan|java|winhttp|clshttp|loader) [NC,OR]
   
       RewriteCond %{HTTP_USER_AGENT} (;|<|>|'|"|\)|\(|%0A|%0D|%22|%27|%28|%3C|%3E|%00).*(libwww-perl|wget|python|nikto|curl|scan|java|winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner) [NC,OR]
       ```
   
 * [http://forum.ait-pro.com/forums/topic/wordpress-newsletter-plugin-wget-cron-blocked-by-bps/](http://forum.ait-pro.com/forums/topic/wordpress-newsletter-plugin-wget-cron-blocked-by-bps/)
 * **This Forum Topic shows the newer steps to add the modified BPS Query String
   Exploits code to BPS Custom Code so that this change is permanent.**
    [http://forum.ait-pro.com/forums/topic/rss-link-bomber-cron-job-blocked/#post-13671](http://forum.ait-pro.com/forums/topic/rss-link-bomber-cron-job-blocked/#post-13671)
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977574)
 * my .access file
 * bad bots user agent code list directly below.
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977575)
 * so I’m not sure what I’m looking for…. sorry
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977576)
 * ok I’ve found the line, so will edit and see what happens on the next cron update
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977577)
 * Ok. Go ahead and delete the .htaccess code you posted above. The wp folks ask
   that you only post a snippet of code or use pastebin, but should always wrap 
   any code that you post in code tags or highlight the code that you posted and
   click the “code” editor button.
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977581)
 * just waiting for the cron to work
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977585)
 * nope, the cron didn’t pick up the file… if I delete the .htaccess it works.. 
   so it is something still blocking it…
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977586)
 * Post the cron command / code that you are using.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977587)
 * I am logged into our HostGator testing host account and see Cron Jobs under the
   Advanced panel. Is that where you are adding the Cron job?
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977590)
 * `/usr/bin/curl http://www.total-f1.com/wp-content/plugins/wp-o-matic/cron.php?
   code=1630958f`
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977593)
 * Ok it is a curl cron job so you would need to remove “curl” and not “wget” (might
   as well remove both of them though – this filter is just a nuisance filter for
   scrapers, miners, etc and not a security filter) from the nuisance filter or 
   use a lynx cron command instead.
 *     ```
       lynx -dump http://www.total-f1.com/wp-content/plugins/wp-o-matic/cron.php?code=1630958f
   
       or
   
       lynx -dump http://www.total-f1.com/wp-content/plugins/wp-o-matic/cron.php?code=1630958f > /dev/null 2&>1
       ```
   
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977594)
 * so would it work if I didn’t take out the wget bit?
    thank you so much for your
   help on this
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977596)
 * The nuisance filter filters out “curl” so you just need to remove “curl” as shown
   below. Leaving “wget” removed is up to you. These nuisance filters were a bad
   idea from the get go and actually cause problems more than they help. 😉
 * curl has been removed from the nuisance filter code below
 *     ```
       RewriteCond %{HTTP_USER_AGENT} (havij|libwww-perl|wget|python|nikto|scan|java|winhttp|clshttp|loader) [NC,OR]
   
       RewriteCond %{HTTP_USER_AGENT} (;|<|>|'|"|\)|\(|%0A|%0D|%22|%27|%28|%3C|%3E|%00).*(libwww-perl|wget|python|nikto|scan|java|winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner) [NC,OR]
       ```
   
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977597)
 * cool, will give it a go, wait till the next cron and I will let you know 🙂
 *  Thread Starter [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * (@totallymotorsport)
 * [12 years ago](https://wordpress.org/support/topic/cron-problem-1/#post-4977599)
 * Good News
 * Running cron job
 * Thank you so much for your top class help

Viewing 15 replies - 1 through 15 (of 33 total)

1 [2](https://wordpress.org/support/topic/cron-problem-1/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/cron-problem-1/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/cron-problem-1/page/2/?output_format=md)

The topic ‘Cron problem’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 33 replies
 * 2 participants
 * Last reply from: [TotallyMotorsport](https://wordpress.org/support/users/totallymotorsport/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/cron-problem-1/page/3/#post-4977741)
 * Status: resolved