Octopus...Schedule(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

✨ Octopussy...Schedule ✨

okay bestie, welcome to Octopussy::Schedule, the Schedule module from the Octopussy family πŸ’– it's a Perl thing, it lives in the Octopus...Schedule(3) section of the manual, and it is literally here to handle all your scheduling needs. no cap.


πŸŽ€ FUNCTIONS πŸŽ€

Add($add)

Creates a brand new Schedule. new schedule, new era, main character energy πŸ‘‘

Remove($schedule_title)

Removes the Schedule called $schedule_title. bye babe, you will not be missed πŸ’…

List()

Returns the Schedules List. that's it, that's the function ✨

Configuration()

Returns the Schedules Configuration πŸŽ€

Configurations($sort)

Gets the configuration for all the Schedules, sorted by $sort. and if you don't pass a $sort? no worries bestie, the default is 'title' πŸ¦‹

Period_Check($begin_day, $begin_hour, $end_day, $end_hour)

Checks that the Period beginning is before the Period end. it's giving common sense but somebody had to check it, and that somebody is this function πŸ™ˆ

Match($sched, $dt)

Checks that the schedule $sched matches the datetime $dt. returns 1 if it matches, 0 if it doesn't. binary queen 🌸

Valid_Name($name)

Checks that $name is actually valid for a Schedule name. gotta gatekeep the naming convention, iykyk 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Sebastien Thebert <octo.devel@gmail.com>


ngl this whole thing is running on perl v5.22.2, documented 2016-05-04, filed under Octopus...Schedule(3) β€” vintage icon behaviour fr fr πŸ’œ mwah, hope your schedules slay πŸ’–βœ¨πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from