Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1069701
in-portal
No One
Temporary
Actions
View 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
Sun, Jul 20, 6:29 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Tue, Jul 22, 6:29 AM (5 h, 57 m)
Engine
blob
Format
Raw Data
Handle
692597
Attached To
rINP In-Portal
in-portal
View Options
Index: trunk/tools/cron.php
===================================================================
--- trunk/tools/cron.php (revision 4856)
+++ trunk/tools/cron.php (revision 4857)
@@ -1,22 +1,25 @@
<?php
-define('FULL_PATH', realpath(dirname(__FILE__).'/../'));
+define('FULL_PATH', realpath(dirname(__FILE__).'/..'));
+define('REL_PATH', 'tools/');
define('APPLICATION_CLASS', 'MyApplication');
define('ADMIN', 1);
include_once(FULL_PATH.'/kernel/kernel4/startup.php');
$application =& kApplication::Instance();
$application->Init();
$event_manager =& $application->recallObject('EventManager');
$event_manager->RunRegularEvents(reBEFORE, true);
$event_manager->RunRegularEvents(reAFTER, true);
+echo '<html><body></body></html>';
+
function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
?>
\ No newline at end of file
Property changes on: trunk/tools/cron.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3
\ No newline at end of property
+1.4
\ No newline at end of property
Event Timeline
Log In to Comment