The service is unavailable (OneDrive) - service

I'm getting this message when I'm trying to access a file which is in my OneDrive
through a link to this file. It happens for 2 hours , between 20:00 and 22:00 h Eastern European Time .Has anybody had the same problem and is it continuing to happen during a long period of time(days , months ,years)?

Related

How do I consume Kafka-Messages older than x minutes, but all messages on restart?

I need some grace period before consuming the kafka message.
My approach is to use a hopping window.
e.g. If I want to consume the message after 5 minutes, the hopping window would be 6 minutes and will advance by 1 minute.
Then I'll use a filter to get data older than 5 minutes (there's also a timestamp in the message itself). Hence I will process data from minute 0 to minute 1. Then the hopping window jumps 1 minute forward and I process data from minute 1 to minute 2 and so on.
However I need to consume all messages when starting the application and not just the last 6 minutes.
I'm also open for other suggestions, regarding the 5 minute grace period.
I've made wrong assumptions here. All the data in the topic will be consumed, no matter how old it is.
e.g. It's 12:10 now and we start the Kafka-Stream.
The data in the topic, we want to consume, was pushed at 12:00 and we have a window of 6 minutes.
I was expecting everything to be consumed from 12:04 to 12:10 (6 minutes) and everything ago would be lost.
But the 12:00 data will be consumed anyway, it just falls into an older window.

Cron expression for two different time slot?

How can I parameters running of a script in two different time slot, for example: every 10 minutes from 10:30 to 14:30 AND from 20:00 to 23:40
According the document of Quartz, you should separate jobs.
See Tutorial 6
Note that some scheduling requirements are too complicated to express
with a single trigger - such as “every 5 minutes between 9:00 am and
10:00 am, and every 20 minutes between 1:00 pm and 10:00 pm”. The
solution in this scenario is to simply create two triggers, and
register both of them to run the same job.
And see the below scheduler, I haven't used the class but probably useful for you.
Javadoc DailyTimeIntervalScheduleBuilder

How to set UI Local Notification for 21 days with 7 days of pause

I need to set up UI Local Notification once a day for 21 days in row, after 21 days I need these notifications to pause for 7 days and then start again.
Im developing a Swift 2.3 application for woman menstrual period control and I need to create pill reminder that has to be for each 21 days, wait 7 days then 21 days of continuous reminder (per day).
I know that I can schedule using interval but how to do these "breaks" between the 21 continuous reminders?
Consider invalidating your first reminder at 21st day and adding second one with different action(It should start reminder of first type).
Here is the logic:
You start your reminder which repeats every day.
On 21st action you invalidate your reminder and start a new one, which waits 7 days and fires.
You start your reminder which repeats every day.
...

Scheduled Recurring Crystal Reports runs with delay

Suddenly all the scheduled reports runs with a delay of one hour.
Does this have anything to do with daylight savings?
The environment is: Crystal Report Server 2008, Tomcat and Business Objects Enterprise 12.0
Detail: This started to happen last weekend,when the Brazilian daylight saving was supposed to end. The server wrongly adjusted the time to end of the daylight saving.
(Here the dates of daylight savings are not default (E.g: Starts third Saturday of October, ends second Saturday of February). Due to politics reason this changes every year).
Anyway, we set the timezone again to daylight saving (which actually is going to end February 17 - this weekend). Restarted the server, but on Crystal Management Console all the reports are wrongly scheduled with +1hour. (E.g: If the report is supposed to be delivered at 12:00 PM, it's doing on 1:00 PM)
Has anyone came across this issue? I did not find anything relevant to my problem on web researches; is there a workaround for this issue? Any time zone configuration that should be made (where?) ?
Any help would be appreciated.
After the timezone ended, the schedulling reports runned on the right time again. Crystal Server had a delay in adjusting the time,because it does only when the server is idle.

Mashery Quotas: Calls per "day" or calls per "24-hours"?

I am accessing an API hosted by Mashery with the following rate limit:
5 calls per second
10,000 calls per day
Does that imply that I can make 10,000 requests at 6:00PM, and then make another 10,000 requests at midnight? Or, does it mean I can only make 10,000 requests within any 24-hour period?
For example, does it mean that if I make 10,000 requests between 6:00PM one day, and 6:00PM the next, that I have to wait until 6:00:01PM before I can make another request. And then, at most I can make requests at the same rate I made the day prior (as the 24-hour period continuously shifts)?
I apologize if this is off-topic. I have a support request in for clarification, but I don't think they'll get back to me any time soon, and I figured that someone here would be familiar with the limits.
The limit is set per Calendar date and resets every midnight GMT time.
So for example if you made 10,000 calls at 6pm pacific (which is 2am GMT) you would have to wait 22 hours until 4pm pacific (which is midnight GMT) until you can start using your next batch of 10,000 daily calls.
Hope that answers your question.
Thanks,
Shai Simchi
Mashery Customer Support