[one-users] oneacct start/end question
Carlos Martín Sánchez
cmartin at opennebula.org
Fri Jul 11 06:50:49 PDT 2014
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  in each case.
Carlos Martín, MSc
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>
> 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
> [oneadmin at sam01 ~]$ oneacct -s '01/06/2014 00:00:00' -e '30/06/2014
> It is working.
> In the doc
> 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,
> Users mailing list
> Users at lists.opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users