Title: wp_schedule_single_event
Last modified: August 19, 2016

---

# wp_schedule_single_event

 *  [Yeowza](https://wordpress.org/support/users/yeowza/)
 * (@yeowza)
 * [15 years ago](https://wordpress.org/support/topic/wp_schedule_single_event/)
 * Hello,
 * I have a PHP file which has this,
 *     ```
       <?php
   
       include('../../../wp-load.php');
   
       wp_schedule_single_event(time()+60, 'delete_site_event', array('rand' => rand()));
   
       ?>
       ```
   
 * and then I have a plugin which has this,
 *     ```
       <?php /* Plugin info, etc etc */
   
       add_action('delete_site_event', 'delete_site');
       function delete_site($rand)
       {
       	echo $rand;
       }
   
       ?>
       ```
   
 * The events do not seem to be working at all. I’ve been searching through the 
   database but I can’t seem to find anything. Does anyone know where they are located
   in the database? Is there anything wrong with my code?

The topic ‘wp_schedule_single_event’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Yeowza](https://wordpress.org/support/users/yeowza/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/wp_schedule_single_event/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
