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/