PHP Classes

Bug report

Recommend this page to a friend!

      PHP Cron Scheduler Parser  >  All threads  >  Bug report  >  (Un) Subscribe thread alerts  
Subject:Bug report
Summary:Wrong Weekday calculated
Messages:2
Author:soldanohighgain
Date:2016-06-02 14:52:46
 

  1. Bug report   Reply   Report abuse  
Picture of soldanohighgain soldanohighgain - 2016-06-02 14:52:46
$schedule = '0 1 * * 1-5'

every day from Monday to Friday at 1 am.

And the Result is:

The next 30 runtimes
Fri 03-06-2016 01:00 $parser->get(0)
Fri 10-06-2016 01:00 $parser->get(1)
Fri 17-06-2016 01:00 $parser->get(2)
Fri 24-06-2016 01:00 $parser->get(3)
Fri 01-07-2016 01:00 $parser->get(4)
Fri 08-07-2016 01:00 $parser->get(5)
Fri 15-07-2016 01:00 $parser->get(6)
Fri 22-07-2016 01:00 $parser->get(7)
Fri 29-07-2016 01:00 $parser->get(8)
Mon 01-08-2016 01:00 $parser->get(9)
Tue 02-08-2016 01:00 $parser->get(10)
Wed 03-08-2016 01:00 $parser->get(11)
Thu 04-08-2016 01:00 $parser->get(12)
Fri 05-08-2016 01:00 $parser->get(13)
Fri 12-08-2016 01:00 $parser->get(14)
Fri 19-08-2016 01:00 $parser->get(15)
Fri 26-08-2016 01:00 $parser->get(16)
Thu 01-09-2016 01:00 $parser->get(17)
Fri 02-09-2016 01:00 $parser->get(18)
Fri 09-09-2016 01:00 $parser->get(19)
Fri 16-09-2016 01:00 $parser->get(20)
Fri 23-09-2016 01:00 $parser->get(21)
Fri 30-09-2016 01:00 $parser->get(22)
Fri 07-10-2016 01:00 $parser->get(23)
Fri 14-10-2016 01:00 $parser->get(24)
Fri 21-10-2016 01:00 $parser->get(25)
Fri 28-10-2016 01:00 $parser->get(26)
Tue 01-11-2016 01:00 $parser->get(27)
Wed 02-11-2016 01:00 $parser->get(28)
Thu 03-11-2016 01:00 $parser->get(29)

  2. Re: Bug report   Reply   Report abuse  
Picture of Chris Volwerk Chris Volwerk - 2017-07-31 16:56:10 - In reply to message 1 from soldanohighgain
Well, this is probably way too late (never even knew someone posted here), but I bumped into the same issue and now i'm here. Thanks for taking the time to report it; i'll have a look at why i don't get notified of these posts,... maybe too many updates.

Anyway, the bug has been fixed.