NAME
App::Dochazka::CLI::Commands::Schedule - Schedule commands
VERSION
Version 0.154
PACKAGE VARIABLES
FUNCTIONS
The functions in this module are called from the parser when it recognizes a command.
schedule_new
Submits the "memsched" (i.e. working schedule stored in memory) to the REST server via 'POST submit/new'.
fetch_all_schedules
SCHEDULES FETCH ALL
SCHEDULES FETCH ALL DISABLED
Get all schedules and dump them to the screen.
clear_memsched_entries
dump_memsched_entries
Dumps "memsched" (i.e. working schedule stored in memory) to the screen.
Note that App::Dochazka::CLI will happily let you build up a completely illegal and nonsensical schedule in memory, and submit it to the REST server. Data integrity controls for new schedule records are performed on server-side.
add_memsched_entry
SCHEDULE _DOW _TIME _DOW1 _TIME1
SCHEDULE _DOW _TIME _HYPHEN _DOW1 _TIME1
SCHEDULE _DOW _TIMERANGE
assign_memsched_scode
SCHEDULE SCODE _TERM
Assign an 'scode' value to the "memsched" (local memory buffer) schedule.
replicate_memsched_entry
SCHEDULE ALL _TIMERANGE
Apply timerange to all five days MON-FRI
schedulespec
SCHEDULE_SPEC
SCHEDULE_SPEC SHOW
schedulespec_remark
SCHEDULE_SPEC REMARK _TERM
schedulespec_scode
SCHEDULE_SPEC SCODE _TERM