Class Schedule


  • public class Schedule
    extends Object
    salt.modules.schedule
    • Method Detail

      • 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 name
        call - salt call schedule
        once - when to execute it once
        metadata - additional metadata
        Returns:
        call object to execute via the client
      • list

        public static LocalCall<Map<String,​Map<String,​Object>>> list​(boolean show_all)
        List scheduled jobs
        Parameters:
        show_all - if true display all the tasks including those with "return_job":false
        Returns:
        call object to execute via the client