# learnpress/4.1.7.2/inc/admin/views/tools/html-cron.php

LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, version 4.1.7.2. 35 lines.

- Page: https://pluginprobe.com/plugins/learnpress/4.1.7.2/code/inc/admin/views/tools/html-cron.php
- Raw: https://pluginprobe.com/plugins/learnpress/4.1.7.2/raw/inc/admin/views/tools/html-cron.php
- Modified: 2022-09-23T02:52:32+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/learnpress/4.1.7.2/code/inc/admin/views/tools/html-cron.php#L10-L20`.

```php
<?php
/**
 * Template for displaying outdated template files in theme/child-themes
 *
 * @author  ThimPress
 * @package LearnPress/Admin/Views
 * @version 3.0.0
 */

defined( 'ABSPATH' ) or die();

?>
<table class="form-table">
	<tr>
		<th><?php esc_attr_e( 'Cron url', 'learnpress' ); ?></th>
		<td>
			<input type="text" class="widefat" value="<?php echo esc_attr( learn_press_get_cron_url() ); ?>">
			<p class="description"><?php esc_html_e( 'Use this url to setup cronjob on your server.', 'learnpress' ); ?></p>
			<br/>
			<a class="button" href="<?php echo wp_nonce_url( esc_url_raw( add_query_arg( 'generate-cron-url', '1' ) ) ); ?>"><?php esc_html_e( 'Generate new url', 'learnpress' ); ?></a>
		</td>
	</tr>

<!--    <tr>-->
<!--        <th>--><?php // esc_attr_e( 'Schedule', 'learnpress' ); ?><!--</th>-->
<!--        <td>-->
<!--            <input type="text" class="widefat" value="--><?php // echo esc_attr( learn_press_get_cron_url() ); ?><!--">-->
<!--            <p class="description">--><?php // esc_html_e( 'Enable .', 'learnpress' ); ?><!--</p>-->
<!--            <br/>-->
<!--            <a class="button"-->
<!--               href="--><?php // echo wp_nonce_url( add_query_arg( 'generate-cron-url', '1' ) ); ?><!--">--><?php // esc_html_e( 'Generate new url', 'learnpress' ); ?><!--</a>-->
<!--        </td>-->
<!--    </tr>-->
</table>

```
