<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://secure.freeside.biz/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Freeside%3A4%3ADocumentation%3ADeveloper%2Fbin%2Ffreeside-sqlradius-seconds</id>
		<title>Freeside:4:Documentation:Developer/bin/freeside-sqlradius-seconds - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://secure.freeside.biz/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Freeside%3A4%3ADocumentation%3ADeveloper%2Fbin%2Ffreeside-sqlradius-seconds"/>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/bin/freeside-sqlradius-seconds&amp;action=history"/>
		<updated>2026-04-26T08:08:50Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://secure.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/bin/freeside-sqlradius-seconds&amp;diff=9496&amp;oldid=prev</id>
		<title>Jeremyd: Edit via perl MediaWiki framework (1.13)</title>
		<link rel="alternate" type="text/html" href="https://secure.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/bin/freeside-sqlradius-seconds&amp;diff=9496&amp;oldid=prev"/>
				<updated>2015-11-18T15:46:12Z</updated>
		
		<summary type="html">&lt;p&gt;Edit via perl MediaWiki framework (1.13)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==NAME==&lt;br /&gt;
freeside-sqlradius-seconds - Command line time-online tool&lt;br /&gt;
&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  freeside-sqlradius-seconds freeside_username target_username start_date [ stop_date ]&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
Returns the number of seconds the specified username has been online between start_date (inclusive) and stop_date (exclusive). See [[Freeside:4:Documentation:Developer/FS/svc acct#seconds since sqlradacct|&amp;quot;seconds since sqlradacct&amp;quot; in FS/svc acct|FS::svc_acct#seconds_since_sqlradacct|&amp;quot;seconds_since_sqlradacct&amp;quot; in FS::svc_acct]]&lt;br /&gt;
&lt;br /&gt;
'''freeside_username''' is a username added by freeside-adduser. '''target_username''' is the username of the user account to query. '''start_date''' and '''stop_date''' are in any format Date::Parse is happy with. '''stop_date''' defaults to now if not specified.&lt;br /&gt;
&lt;br /&gt;
==BUGS==&lt;br /&gt;
Selection of the account in question is rather simplistic in that '''target_username''' doesn't necessarily identify a unique account (and wouldn't even if a domain was specified), and no sqlradius export is checked for.&lt;br /&gt;
&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
[[Freeside:4:Documentation:Developer/FS/svc acct#seconds since sqlradacct|&amp;quot;seconds since sqlradacct&amp;quot; in FS/svc acct|FS::svc_acct#seconds_since_sqlradacct|&amp;quot;seconds_since_sqlradacct&amp;quot; in FS::svc_acct]]&lt;/div&gt;</summary>
		<author><name>Jeremyd</name></author>	</entry>

	</feed>