Skip to content

Commit

Permalink
Development: Change CLI schedule actions help (#3111)
Browse files Browse the repository at this point in the history
(cherry picked from commit 63c5bd8)
  • Loading branch information
Alejandro Huertas Herrero authored and rsmontero committed Mar 22, 2019
1 parent c19f40e commit 730711d
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/cli/one_helper/onevm_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,32 +117,36 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
WEEKLY = {
:name => "weekly",
:large => "--weekly days",
:description => "Schedules this action to be executed after" \
"the given time. For example: onevm resume 0 --schedule \"09/23 14:15\"",
:description => "Repeats the schedule action the days of the week specified," \
"it can be a number between 0,6 separated with commas." \
"For example: onevm resume 0 --schedule \"09/23 14:15\" --weekly 0,2,4",
:format => String
}

MONTHLY = {
:name => "monthly",
:large => "--monthly days",
:description => "Schedules this action to be executed after" \
"the given time. For example: onevm resume 0 --schedule \"09/23 14:15\"",
:description => "Repeats the schedule action the days of the month specified," \
"it can be a number between 0,31 separated with commas." \
"For example: onevm resume 0 --schedule \"09/23 14:15\" --monthly 0,14",
:format => String
}

YEARLY = {
:name => "yearly",
:large => "--yearly days",
:description => "Schedules this action to be executed after" \
"the given time. For example: onevm resume 0 --schedule \"09/23 14:15\"",
:description => "Repeats the schedule action the days of the year specified," \
"it can be a number between 0,365 separated with commas." \
"For example: onevm resume 0 --schedule \"09/23 14:15\" --yearly 30,60",
:format => String
}

HOURLY = {
:name => "hourly",
:large => "--hourly hour",
:description => "Schedules this action to be executed after" \
"the given time. For example: onevm resume 0 --schedule \"09/23 14:15\"",
:description => "Repeats the schedule action each hours specified," \
"it can be a number between 0,168 separated with commas." \
"For example: onevm resume 0 --schedule \"09/23 14:15\" --hourly 1,5",
:format => Numeric
}

Expand Down

0 comments on commit 730711d

Please sign in to comment.