Published Book on Amazon
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1|
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2|
출판된 한글판 도서
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)|
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)|
Original Book Contents
20.1.2 Manual Run and Automatic Run
Based on the subject who instructs the processing, the processing method can be divided into the manual execution and utomatic execution can
● Manual execution
In this method, the user instructs to process certain commands. The user determines the required point of time for execution, and the user also determines the contents of the specific command to be entered for execution and instructs the command. The command to be executed here may be an individual command or a bundle of commands defined by a script. Whatever it is, the user will decide the start of the run.
In this method, as the user determines everything, it is possible to handle it correctly, but as it can not be processed if there is no user, there are much inconvenient points in the works that need much automation.
● Automatic execution
In this method, the user does not intervene the processing, and the system directs the processing of the command. The system determines whether or not to execute the command according to predetermined criteria, and executes the command in a predefined way.
These automatic execution methods can use the following several methods depending on when the command is executed.
■ Automatic execution linked with system startup/shutdown is a way to automatically execute predefined commands when the system is booted or shutdown.
■ Automatic execution linked with application is a way to automatically execute a predefined command when a specific application starts or terminates.
■ Periodic automatic execution is a way to automatically execute a predefined command according to a predefined periodicity.
In this method, if a certain command is repeatedly executed according to a certain criterion, as it can be processed automatically without any user intervention, it can be processed quickly, and ass it is possible to process the predefined contents accurately, the possible problem due to user's mistakes can be prevented.