<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 131: New Default Environment Variable 'WRAPPER_OS_UPTIME'</title><link>https://sourceforge.net/p/wrapper/feature-requests/131/</link><description>Recent changes to 131: New Default Environment Variable 'WRAPPER_OS_UPTIME'</description><atom:link href="https://sourceforge.net/p/wrapper/feature-requests/131/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 15 Nov 2011 08:28:45 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/wrapper/feature-requests/131/feed.rss" rel="self" type="application/rss+xml"/><item><title>New Default Environment Variable 'WRAPPER_OS_UPTIME'</title><link>https://sourceforge.net/p/wrapper/feature-requests/131/</link><description>currently there is IMHO  no means in java to access/inquire the uptime of the operating system. It would be useful to have this information i.e. to decide if the wrapper is started because of a system boot. The environment variable could provide the startup time in seconds and can be used in specifying a custom \(java\) system property. 
I think the system uptime could be easy determined in the native wrapper code for every OS.

Integrating a method in the wrapper java API would be also a solution, but this requires the use of this API.

Please add a such Variable. Thank you.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">charly</dc:creator><pubDate>Tue, 15 Nov 2011 08:28:45 -0000</pubDate><guid>https://sourceforge.net07a711d3845419ab9c981fe11a01840ee5d79d41</guid></item></channel></rss>