Combat: Go Language development of distributed task scheduling easy to get high performance Crontab

  • Chapter 1 Introduction Course

    This chapter will introduce the basic contents of this course include: What can we do, what basic requirements, which will learn tools, which harvest the exclusive dry goods, as well as courses specific arrangements.

    •  1-1 Course Guidance Look
  • Chapter 2 How to execute shell commands

    Perform "scheduled tasks" is actually execute "shell command." In this chapter, we will first of all with the distinction between "procedural" and "command" and then understand the two modes of operation bash command interpreter, and illustrates the underlying principle analysis shell mission call and systems involved. Finally, we will make use of the standard library Command Go language, to achieve mission, output capture, kill tasks and other important functions. ...

    •  2-1 Principle Introduction
    •  2-2 tasks
    •  2-3 capture task output
    •  2-4 to force End Task
  • Chapter 3 how to parse cron expression

    cron expression is a regular task execution cycle configuration of the core tool. In this chapter, we will first analyze the composition and analytical logic cron expressions, and use open source project cronexpr cron expression parsing and calculation of the next scheduled time for the task. After that, we will use its mandate to achieve concurrent scheduling logic, that is, at the same time a number of different scheduling cron jobs, as a follow-real lesson is an important pre-knowledge. ...

    •  3-1 cron expression principle
    •  3-2 cron open source parsing library
    •  3-3 schedule multiple cron

Guess you like

Origin www.cnblogs.com/kaerl/p/11582866.html