| Cheshire Cat Computing http://steveshipway.org/forum/ |
|
| downtime 3.2 date issue http://steveshipway.org/forum/viewtopic.php?f=20&t=4311 |
Page 1 of 1 |
| Author: | andymac [ Mon Mar 07, 2011 6:09 pm ] |
| Post subject: | downtime 3.2 date issue |
Hi, It seems that if you try to schedule a downtime for a time that is before the current time and for following week, the downtime gets added to a day later than it should. For example if you schedule a downtime for Sunday's at 5am for 2 hours and downtime_job.pl runs at 6am on Monday the downtime will be schedule for Monday at 5am. This seems to happen because downtime_job.pl sees that 5am is before the current day so advances a day then needs to advance to the next week to hit the Sunday but doesn't take into account the previous one day advance so lands one day too far. I fixed this by adding a variable to detect the initial day advance and take one day off the week advance if it is set. Hope this helps somebody |
|
| Author: | flughamster [ Fri Apr 01, 2011 2:36 am ] |
| Post subject: | Re: downtime 3.2 date issue |
| Author: | stevesh [ Thu May 05, 2011 6:12 pm ] |
| Post subject: | Re: downtime 3.2 date issue |
I think this is fixed in v3.3 |
|
| Author: | mkurzer [ Tue Jan 31, 2012 8:38 pm ] |
| Post subject: | Re: downtime 3.2 date issue |
| Author: | stevesh [ Thu Feb 02, 2012 11:04 am ] |
| Post subject: | Re: downtime 3.2 date issue |
Should be here https://www.monitoringexchange.org/inve ... -scheduler but seems not to be. Will update. |
|
| Author: | Orthopedic Surgeon [ Wed Feb 08, 2012 2:03 am ] |
| Post subject: | Re: downtime 3.2 date issue |
| Author: | stevesh [ Thu Feb 09, 2012 4:57 pm ] |
| Post subject: | Re: downtime 3.2 date issue |
Sorry, having problems here and becoming overwhelmed by the 'real' job. Will get around to it soon... |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|