Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71341983
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, Jul 11, 04:52
Size
248 B
Mime Type
text/x-php
Expires
Sat, Jul 13, 04:52 (2 d)
Engine
blob
Format
Raw Data
Handle
18939860
Attached To
rPHU libphutil
PhutilNiceDaemon.php
View Options
<?php
/**
* Daemon which behaves properly.
*/
final
class
PhutilNiceDaemon
extends
PhutilTortureTestDaemon
{
protected
function
run
()
{
while
(
true
)
{
$this
->
log
(
date
(
'r'
));
$this
->
stillWorking
();
sleep
(
1
);
}
}
}
Event Timeline
Log In to Comment