Title: run function
Last modified: August 22, 2016

---

# run function

 *  [lew1s](https://wordpress.org/support/users/lew1s/)
 * (@lew1s)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/run-function/)
 * I want to run an function from a plugin every day.
 * The plugin needs to run a function process_import_properties_button(){
 * So the Cron job has to execute this function every day .
 * What is the hook fort this ?
 * add_action(‘my_hookname’, ‘my_function’);
 * function my_function() {
    wp crontrol run-event (‘process_import_properties_button’)}
 * [https://wordpress.org/plugins/wp-crontrol/](https://wordpress.org/plugins/wp-crontrol/)

The topic ‘run function’ is closed to new replies.

 * ![](https://ps.w.org/wp-crontrol/assets/icon.svg?rev=3539529)
 * [WP Crontrol](https://wordpress.org/plugins/wp-crontrol/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crontrol/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crontrol/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crontrol/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crontrol/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crontrol/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [lew1s](https://wordpress.org/support/users/lew1s/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/run-function/)
 * Status: not resolved