# shortcode-variables/3.4.1/includes/cron.php

Snippet Shortcodes, version 3.4.1. 14 lines.

- Page: https://pluginprobe.com/plugins/shortcode-variables/3.4.1/code/includes/cron.php
- Raw: https://pluginprobe.com/plugins/shortcode-variables/3.4.1/raw/includes/cron.php
- Modified: 2020-10-20T07:14:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/shortcode-variables/3.4.1/code/includes/cron.php#L10-L20`.

```php
<?php

defined('ABSPATH') or die("Jog on!");

// Fetch the existing license from WP Options and run it through validation again.
function sh_cd_cron_licence_check() {
;
	$existing_license = sh_cd_license();

	sh_cd_license_apply( $existing_license );
}
add_action( 'daily', 'sh_cd_cron_licence_check' );
add_action( 'sh-cd-upgrade', 'sh_cd_cron_licence_check' );

```
