[one-users] oneacct start/end question
Carlos Martín Sánchez
cmartin at opennebula.org
Fri Jul 11 06:50:49 PDT 2014
Hi,
I think this is problem with the ruby version. I did a quick test, and
1.8.7 accepts your command, while 1.9 and 2.1 need dd/mm/yy.
We will try to find a way to force the same format, or at least we will
document which one should be used [1] in each case.
Regards.
[1] http://dev.opennebula.org/issues/3037
--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmartin at opennebula.org>
On Wed, Jul 2, 2014 at 6:41 PM, Nicolas Bélan <nicolas.belan at gmail.com>
wrote:
> Hello,
>
> I am using a script to generate usage stats.
> But the update to 4.6.1 breaks my script. I have found that the error is
> on oneacct:
>
> [oneadmin at sam01 ~]$ LANG=C oneacct -s '06/01/2014 00:00:00' -e
> '06/30/2014 23:59:59'
> invalid argument: -e 06/30/2014 23:59:59
>
> Using:
> [oneadmin at sam01 ~]$ oneacct -s '01/06/2014 00:00:00' -e '30/06/2014
> 23:59:59'
>
> It is working.
>
> In the doc
> http://docs.opennebula.org/4.6/administration/users_and_groups/accounting.html
> We have:
>
> The time can be written as month/day/year hour:minute:second, or any
> other similar format, e.g month/day hour:minute
>
> Is it an error on the doc or on the oneacct tool ?
>
> Thank you
>
> Best regards,
> Nicolas.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140711/d895caa4/attachment.htm>
More information about the Users
mailing list