Project: lb_cron

Node.js·1 min read·Apr 16, 2025

scheduler illustartion

In Unix, the cron utility is used to schedule the periodical execution of commands or shell scripts, also known as cron jobs, at fixed times, dates, or intervals.

The objective of this project is to write a JavaScript task scheduler script that periodically executes asynchronous functions at fixed intervals.

General instructions

Here are the general instructions to complete this project:

  1. The script must be named lb_cron.js.

  2. The script must be written in JavaScript.

The Task class

The objective of this part is to implement a class that represents an asynchronous task that will be periodically executed by the scheduler.