# shiftcontroller/4.9.95/sh4/app/html/cron.php

ShiftController Employee Shift Scheduling, version 4.9.95. 21 lines.

- Page: https://pluginprobe.com/plugins/shiftcontroller/4.9.95/code/sh4/app/html/cron.php
- Raw: https://pluginprobe.com/plugins/shiftcontroller/4.9.95/raw/sh4/app/html/cron.php
- Modified: 2023-05-29T12:46:18+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/shiftcontroller/4.9.95/code/sh4/app/html/cron.php#L10-L20`.

```php
<?php if (! defined('ABSPATH')) exit; // Exit if accessed directly
class SH4_App_Html_Cron
{
	public $self, $cron;

	public function __construct(
		HC3_Cron $cron,
		HC3_Hooks $hooks
		)
	{
		$this->cron = $hooks->wrap( $cron );
		$this->self = $hooks->wrap( $this );
	}

	public function run()
	{
		// $f = realpath( __DIR__ . '/../../../_cron.txt' );
		// echo __METHOD__ . " = " . $f . ' XOM';
		$this->cron->run();
	}
}
```
