Browse
For agents
About
ShiftController Employee Shift Scheduling
/
trunk
ShiftController Employee Shift Scheduling
vtrunk
Switch version
4.9.97
4.9.96
4.9.95
4.9.74
4.9.75
4.9.76
4.9.77
4.9.78
4.9.84
4.9.85
4.9.87
4.9.91
4.9.92
trunk
2.1.0
2.1.1
2.1.2
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
3.2.4
All 38 releases
Overview
Code
shiftcontroller
/
sh4
/
app
/
html
/
cron.php
cron.php
in ShiftController Employee Shift Scheduling trunk, at sh4/app/html/cron.php
21 lines
443 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
if
(
!
defined
(
'
ABSPATH
'
)
)
exit
;
//
Exit if accessed directly
2
class
SH4_App_Html_Cron
3
{
4
public
$
self
,
$
cron
;
5
6
public
function
__construct
(
7
HC3_Cron
$
cron
,
8
HC3_Hooks
$
hooks
9
)
10
{
11
$
this
->
cron
=
$
hooks
->
wrap
(
$
cron
)
;
12
$
this
->
self
=
$
hooks
->
wrap
(
$
this
)
;
13
}
14
15
public
function
run
(
)
16
{
17
//
$f = realpath( __DIR__ . '/../../../_cron.txt' );
18
//
echo __METHOD__ . " = " . $f . ' XOM';
19
$
this
->
cron
->
run
(
)
;
20
}
21
}