Title: [Plugin: Wp_cron] Task not executing
Last modified: August 19, 2016

---

# [Plugin: Wp_cron] Task not executing

 *  [airbuzz](https://wordpress.org/support/users/airbuzz/)
 * (@airbuzz)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp_cron-plugin/)
 * Hi everyone.
 * I have an issue with a plugin i am developing.
    This plugin has to run every 
   3 hours and connect to some remote server to grab some json data. I set up the
   cron tasks which appears properly and the plug in display the time remaining 
   to the next update. Problem is that when the time for the update comes no data
   is grabbed at all. When i runs it manually data is grabbed properly and there
   is no error.
 * Also i have been installing ‘Cron Control’ plugin in order to run the cron directly
   from the admin. When i do it no problem either, i just get ‘the selected task
   has been run properly’.
    Does anyone know Why the cron would run properly when
   i manually do it and not when it is completely automated ?
 * Thank you in advanced,

Viewing 1 replies (of 1 total)

 *  Thread Starter [airbuzz](https://wordpress.org/support/users/airbuzz/)
 * (@airbuzz)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp_cron-plugin/#post-1931244)
 * to precise the scheduled function to execute is inside a class.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Wp_cron] Task not executing’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [airbuzz](https://wordpress.org/support/users/airbuzz/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/wp_cron-plugin/#post-1931244)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
