Using a Scheduled Workflow
Using a Scheduled Workflow
Once a workflow has been loaded into the appliance a schedule can be defined for it via the CLI
interface as follows:
EXAMPLE 28
Scheduled Workflow in the CLI
dory:> maintenance workflows
dory:maintenance workflows> "select workflow-002'''
dory:maintenance workflow-002> schedules
dory:maintenance workflow-002 schedules>create
dory:maintenance workflow-002 schedule (uncommitted)> set frequency=day
frequency = day (uncommitted)
dory:maintenance workflow-002 schedule (uncommitted)> set hour=10
hour = 10 (uncommitted)
dory:maintenance workflow-002 schedule (uncommitted)> set minute=05
minute = 05 (uncommitted)
dory:maintenance workflow-002 schedule (uncommitted)> commit
dory:maintenance workflow-002 schedules> list
NAME FREQUENCY DAY HH:MM
schedule-001 day - 10:05
dory:maintenance workflow-002 schedules> create
dory:maintenance workflow-002 schedule (uncommitted)> set frequency=week
frequency = week (uncommitted)
dory:maintenance workflow-002 schedule (uncommitted)> set day=Monday
day = Monday (uncommitted)
dory:maintenance workflow-002 schedule (uncommitted)> set hour=13
hour = 13 (uncommitted)
dory:maintenance workflow-002 schedule (uncommitted)> set minute=15
minute = 15 (uncommitted)
dory:maintenance workflow-002 schedule (uncommitted)> commit
dory:maintenance workflow-002 schedules> list
NAME FREQUENCY DAY HH:MM
schedule-001 day - 10:05
schedule-002 week Monday 13:15
dory:maintenance workflow-002 schedules>
Coding Workflow Schedules
Schedules can also be specified in the workflow code as a property in the Object workflow.
The property syntax used here differs from the CLI schedule creation. Here three properties are
used,
Maintenance Workflows 601