In any case, you can easily achieve what you want by just commenting out the entire holidays file. It will give you 24 hour primetime.
Thanks, and I investigated more various pattens:
Case 0) Comment out prime table, but rest YEAR line:
*
YEAR 2019
*
* Prime/Nonprime Table
*
* Prime Non-Prime
* Day Start Start
*
* weekday 0600 1730
* saturday none all
* sunday none all
*
* Day of Calendar Company
* Year Date Holiday
*
is bad. It also causes infinite loop.
Case 1) Comment out entire holidays file as you say:
* YEAR 2019
*
* Prime/Nonprime Table
*
* Prime Non-Prime
* Day Start Start
*
* weekday 0600 1730
* saturday none all
* sunday none all
*
is good. Yes, i got 24h primetime,
However, the following warnings are recorded repeatedly.
because of conf.holiday_year == 0.
31 01/15/2019 16:25:23;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
32 01/15/2019 16:25:46;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
33 01/15/2019 16:25:48;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
34 01/15/2019 16:26:31;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
35 01/15/2019 16:27:04;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
36 01/15/2019 16:27:04;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
37 01/15/2019 16:27:04;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
38 01/15/2019 16:31:38;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
39 01/15/2019 16:31:38;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
40 01/15/2019 16:41:38;0004;pbs_sched;Fil;holidays;The holiday file is out of date; please update it.
this warnings is produced by fifo.c line 174 (schedinit):
if ((tmptr != NULL) && ((tmptr->tm_year + 1900) > conf.holiday_year))
Case 2)
*
YEAR 2019
*
* Prime/Nonprime Table
*
* Prime Non-Prime
* Day Start Start
*
weekday all none
saturday all none
sunday all none
*
is good. And above warning is NOT reported!
But I suspect a little slower than case 1.
Which do you recommend case 1 or 2 ?
Sincerely,