Class Schedule
java.lang.Object
com.suse.salt.netapi.calls.modules.Schedule
salt.modules.schedule
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCommon result structure for scheduling functions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalCall<Schedule.Result> Schedule a salt call for later execution on the minionstatic LocalCall<Schedule.Result> Delete a schedule entrylist(boolean show_all) List scheduled jobs
-
Constructor Details
-
Schedule
private Schedule()
-
-
Method Details
-
delete
Delete a schedule entry- Parameters:
name- job name- Returns:
- the result
-
add
public static LocalCall<Schedule.Result> add(String name, LocalCall<?> call, LocalDateTime once, Map<String, ?> metadata) Schedule a salt call for later execution on the minion- Parameters:
name- job namecall- salt call scheduleonce- when to execute it oncemetadata- additional metadata- Returns:
- call object to execute via the client
-
list
-