PluginProbe ʕ •ᴥ•ʔ
Easy HTTPS Redirection (SSL) / 2.0.0
Easy HTTPS Redirection (SSL) v2.0.0
trunk 1.5 1.6 1.8 1.9.1 1.9.2 2.0.0 2.0.1
https-redirection / classes / ehssl-cronjob.php
https-redirection / classes Last commit date
utilities 1 year ago ehssl-config.php 1 year ago ehssl-cronjob.php 1 year ago ehssl-custom-post-types.php 1 year ago ehssl-debug-logger.php 1 year ago ehssl-email-handler.php 1 year ago ehssl-init-time-tasks.php 1 year ago ehssl-rules-helper.php 1 year ago ehssl-ssl-certificate.php 1 year ago index.php 1 year ago
ehssl-cronjob.php
19 lines
1 <?php
2
3 class EHSSL_Cronjob{
4
5 public function __construct() {
6 add_action('ehssl_daily_cron_event', array( $this, 'handle_daily_cron_event' ) );
7 }
8
9 public function handle_daily_cron_event(){
10 EHSSL_Logger::log( 'Executing daily cron job event...' );
11
12 EHSSL_SSL_Utils::check_and_save_current_cert_info();
13 EHSSL_SSL_Utils::check_and_send_notification_emails();
14
15 EHSSL_Logger::log( 'Daily cron job execution finished.' );
16 }
17 }
18
19 new EHSSL_Cronjob();