Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 924303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:19:52+00:00 2026-05-15T19:19:52+00:00

I started to write a module for scheduling perl jobs with more readable syntax

  • 0

I started to write a module for scheduling perl jobs with more readable syntax than a cron job, but wondered if there was already one available.

I’m after something that can be run from a perl script, not a crontab file. This syntax has got to be easily readable. For example :-

every Monday morning
every other Tuesday at 3:30pm
every night
once only on 14th August 2010 at 2pm

..if there was something even remotely similar to that it would be great. I had a quick look on CPAN but couldn’t find what I was after.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:19:53+00:00Added an answer on May 15, 2026 at 7:19 pm

    It looks like DateTime::Format::Natural at CPAN does this. Unfortunately the documentation barely exists. Culling from the module self-test files I find:

    { '9 in the evening'                => '24.11.2006 21:00:00' },
    { 'monday 6 in the morning'         => '20.11.2006 06:00:00' },
    { 'monday 4 in the afternoon'       => '20.11.2006 16:00:00' },
    { 'monday 9 in the evening'         => '20.11.2006 21:00:00' },
    { 'last sunday at 21:45'            => '19.11.2006 21:45:00' },
    { 'monday last week'                => '13.11.2006 00:00:00' },
    { '6th day last week'               => '18.11.2006 00:00:00' },
    { '6th day this week'               => '25.11.2006 00:00:00' },
    { '6th day next week'               => '02.12.2006 00:00:00' },
    { '12th day last month'             => '12.10.2006 00:00:00' },
    { '12th day this month'             => '12.11.2006 00:00:00' },
    { '12th day next month'             => '12.12.2006 00:00:00' },
    { '1st day last year'               => '01.01.2005 00:00:00' },
    { '1st day this year'               => '01.01.2006 00:00:00' },
    { '1st day next year'               => '01.01.2007 00:00:00' },
    

    which looks promising.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As programmers we read more than we write. I've started working at a company
I am very new (started today) to writing chrome extensions but need to write
I am a novice to Python and have started to write my first module
I just started programming and tried to write something but (of course) it failed.
I started to write phonegap apps in xcode. I am writing update checker applications
I started by googling and found the article How to write INSERT if NOT
I just started with a project that requires me to write to PDF file.
I have recently started to learn Objective-C and write my tests using OCUnit that
I have started learning Java and I have 1 issue: I write a simple
Question simple and quick: I have started to use Netbeans to write some code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.