A lab for managing the cron job by Yaml file using the package node-cron
.
[nodemon] restarting due to changes...
[nodemon] starting `ts-node src/index.ts`
The task hello-word has started
The task typing-somethings has started
Wed May 26 2021 15:56:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 15:57:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 15:57:00 GMT-0400 (Bolivia Time) dde382d8-ffa9-4b7a-b0d0-770515e872e8 */3 * * * * typing somethings
Wed May 26 2021 15:58:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 15:59:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 16:00:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
Wed May 26 2021 16:00:00 GMT-0400 (Bolivia Time) dde382d8-ffa9-4b7a-b0d0-770515e872e8 */3 * * * * typing somethings
Wed May 26 2021 16:01:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word
File has been modified
The task typing-somethings has started
File has been modified
Wed May 26 2021 16:02:00 GMT-0400 (Bolivia Time) dde382d8-ffa9-4b7a-b0d0-770515e872e8 */2 * * * * typing somethings
Wed May 26 2021 16:02:00 GMT-0400 (Bolivia Time) 1127ffe3-7bae-4397-a61e-4b6802785b81 */1 * * * * Hello Word