Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Scheduled Job not running as often as it should

$
0
0

First of all - I'm kind of new to EPiServer so I hope I haven't missed anything super obvious! :)

I have made a scheduled job that does a simple GET request to check if the site I'm working with has contact with a specific server or not, and it is working as intended. We want to get some statistical data about this for possible future development of automated error messages, and the job itself takes <1 second.

However, for some reason it only fires exactly every 70 seconds (almost every time) instead of every 10 (or 30, or 5, or 1...) seconds that I want it to. I have found a couple other subjects about this on this forum and elsewhere online but no real answer or solution.
We have almost no other scheduled jobs on the site, and looking at the tblScheduledItem in the database there are no other jobs running this often, so it shouldn't crash with anything else. Also worth noting is that the next execution time is updated properly in the database - it says that it will run the job again in 10 seconds, but it doesn't run it until 70 seconds have passed.

Does EPiServer simply not support jobs running this often? Or is there something I can do to force it to run after 10 seconds programmatically? I found a couple tutorials showing how to set up and change settings for jobs programmatically but it didn't really help.


Viewing all articles
Browse latest Browse all 6894

Trending Articles