How to Install libschedule-cron-events-perl in Ubuntu 18.04



Install libschedule-cron-events-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libschedule-cron-events-perl

Description:

module to find out the times at which a cron entry would run

Given a line from a crontab, tells you the time at which cron will next run the line, or when the last event occurred, relative to any date you choose. The object keeps that reference date internally, and updates it when you call nextEvent() or previousEvent() - such that successive calls will give you a sequence of events going forward, or backwards, in time. . Use setCounterToNow() to reset this reference time to the current date on your system, or use setCounterToDate() to set the reference to any arbitrary time, or resetCounter() to take the object back to the date you constructed it with. . Schedule::Cron::Events uses Set::Crontab to understand the date specification, so it should be able to handle all forms of cron entries.

Homepage: https://metacpan.org/release/Schedule-Cron-Events

Version: 1.95-1

Section: universe/perl