Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: cron-explain.pl -- cron next appointments

by soonix (Abbot)
on Nov 28, 2018 at 16:36 UTC ( #1226459=note: print w/replies, xml ) Need Help??


in reply to Re: cron-explain.pl -- cron next appointments
in thread cron-explain.pl -- cron next appointments

In principle yes, but what about "0,15,30,45 * * * *" or "0/5 * * * *"

Perhaps the default could be "a screenpage full", but that also should depend on how many other events would be listed …

can of worms :-)

Replies are listed 'Best First'.
Re^3: cron-explain.pl -- cron next appointments
by parv (Vicar) on Nov 29, 2018 at 07:26 UTC

    I personally do want to see all the jobs for the day (regardless of visual space constraints). The cat crontab.txt | perl cron-explain.pl [-n 3] output seem odd to me for 21 * * * * job would be running many times over before the next one listed with time of 0,30 6 * * *.

    In any case, sooner or later I am bound to change the original to list every single event time from the current time for rest of the current day (default; or, any other date via option).

      Rethinking .... No, that default is horrendous! Above mentioned default behavior should be available via another option.

      Default mode should show the the event & the first time it was ran and/or will run next for the day (undecided); along with explanation of the time/frequency (as in "once a day at x:y pm" or "4/day every 5 hours", etc.).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1226459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2019-05-23 05:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (142 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!