BuildForge::API::Schedule
my $Sched = new BuildForge::API::Schedule(); $Sched->{'description'} = "API Scheduled Job"; $Sched->{'project_id'} = $Project->{'project_id'}; $Sched->Create();
This class is available to user after a BuildForge::API object has been instantiated. It is used to add, and delete schedules in the BuildForge engine, also allowing a schedule to be reset, and reevaluated by the engine.
new({ScheduleParamsHashRef})
Create an object to access, create or delete schedules in the BuildForge engine.
Create()
Creates a new Build Schedule, requires the object variables 'description' and 'project_id' to be set.
Delete()
Deletes the Build Schedule, requires the object variable 'description' or 'schedule_id' to be set.
Reset()
Recalculates the next run-time for the Schedule. Requires the object variable 'description' or 'schedule_id' to be set.
Sync()
Syncs the Schedule object with information from the database. Requires the object variable 'description' or 'schedule_id' to be set.
BuildForge, Inc.