[one-users] oneacct start/end question
Nicolas Bélan
nicolas.belan at gmail.com
Wed Jul 2 09:41:02 PDT 2014
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.
|
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140702/1a336cf7/attachment.htm>
More information about the Users
mailing list