Crontab Parsing

Crontab Parsing

Linux Crontab command is a powerful utility that is used for scheduling and automating tasks in Unix-like operating systems.

In this mission your task is to parse a crontab timing expression (crontab format MIN HOUR DOM MON DOW), return a sorted ascending list of next 3 execution datetimes based on a provided current datetime (ISO format YYYY-MM-DDTHH:MM).

Your script must support all standard crontab expressions:

  • Single numbers: 5, 10, 15;
  • Ranges: 1-5;
  • Steps: */2, 1-10/2;
  • Lists: 1,3,5;
  • Special character: *;
  • Special keywords:...
You should be an authorized user in order to see the full description and start solving this mission.