Title: wp_schedule_event problem when using functions.
Last modified: August 20, 2016

---

# wp_schedule_event problem when using functions.

 *  [Juanfra Aldasoro](https://wordpress.org/support/users/juanfra/)
 * (@juanfra)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/wp_schedule_event-problem-when-using-functions/)
 * Hey there,
 * This is Juan from Argentina. I’m having trouble setting a cron job with some 
   custom functions inside.
 * My cron task checks for current and remote versions of a framework, compares 
   them and save an option with a message.
 * The problem is that when I try to get the different versions (with a custom function
   i.e. get_fw_version()) the functions aren’t working.
 * Is there any restriction for cron jobs?

The topic ‘wp_schedule_event problem when using functions.’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Juanfra Aldasoro](https://wordpress.org/support/users/juanfra/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/wp_schedule_event-problem-when-using-functions/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
