Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F2112118
cron.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Nov 18, 1:07 PM
Size
633 B
Mime Type
text/x-php
Expires
Fri, Nov 20, 1:07 PM (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
989862
Attached To
rINP In-Portal
cron.php
View Options
<?php
// Use this line to invoke from cron.
// wget http://<server_address>/tools/cron.php -O /dev/null > /dev/null 2>&1
define
(
'FULL_PATH'
,
realpath
(
dirname
(
__FILE__
).
'/..'
));
define
(
'REL_PATH'
,
'tools/'
);
define
(
'ADMIN'
,
1
);
include_once
(
FULL_PATH
.
'/core/kernel/startup.php'
);
$application
=&
kApplication
::
Instance
();
$application
->
Init
();
$event_manager
=&
$application
->
recallObject
(
'EventManager'
);
$event_manager
->
RunRegularEvents
(
reBEFORE
,
true
);
$event_manager
->
RunRegularEvents
(
reAFTER
,
true
);
function
getmicrotime
()
{
list
(
$usec
,
$sec
)
=
explode
(
" "
,
microtime
());
return
((
float
)
$usec
+
(
float
)
$sec
);
}
?>
Event Timeline
Log In to Comment