Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110701087
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
Sun, Apr 27, 15:05
Size
245 B
Mime Type
text/x-php
Expires
Tue, Apr 29, 15:05 (2 d)
Engine
blob
Format
Raw Data
Handle
25842240
Attached To
rPHU libphutil
PhutilNiceDaemon.php
View Options
<?php
/**
* Daemon which behaves properly.
*/
final
class
PhutilNiceDaemon
extends
PhutilTortureTestDaemon
{
public
function
run
()
{
while
(
true
)
{
$this
->
log
(
date
(
'r'
));
$this
->
stillWorking
();
sleep
(
1
);
}
}
}
Event Timeline
Log In to Comment