Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F108928666
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
Sat, Apr 19, 03:21
Size
245 B
Mime Type
text/x-php
Expires
Mon, Apr 21, 03:21 (2 d)
Engine
blob
Format
Raw Data
Handle
25662400
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