Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92591130
PhutilNiceDaemon.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 21, 19:00
Size
267 B
Mime Type
text/x-php
Expires
Sat, Nov 23, 19:00 (2 d)
Engine
blob
Format
Raw Data
Handle
22465367
Attached To
rPHU libphutil
PhutilNiceDaemon.php
View Options
<?php
/**
* Daemon which behaves properly.
*
* @group testcase
*/
final
class
PhutilNiceDaemon
extends
PhutilTortureTestDaemon
{
public
function
run
()
{
while
(
true
)
{
$this
->
log
(
date
(
'r'
));
$this
->
stillWorking
();
sleep
(
1
);
}
}
}
Event Timeline
Log In to Comment