I have been using the scheduler to automatically run an eBase script which generates and emails reports.
I have noticed that scheduled tasks do run but not exactly at the time that they are scheduled at.
For example, I just did a test where I had a task scheduled to run today at 11:01 AM. The scheduler logs show an end date and time of 5/20/15 11:09.27.
8 minutes difference is not so crucial but I was wondering if the scheduler exists in eBase as a separate process that checks for any scheduled tasks that need to be run on a regular interval.
Is there a way to force the schedule to run at the exact time that I specify ?
Scheduler Timing
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
The scheduler works like this: it wakes up at fixed intervals (the default is every 10 mins) and then checks for tasks that need to be run. So with the default setting, tasks will be between 0 - 10 mins late. This wake-up period is specified with property Ufs.schedulerWakeupInterval in UFSSetup.properties - requires a server restart to take effect. You probably don't want to set this parameter too small as it queries the database each time it wakes up. A value of 60 (1 min) would be fine.
0 x
-
- Ebase User
- Posts: 649
- Joined: Mon Dec 09, 2013 6:37 pm
Who is online
Users browsing this forum: No registered users and 21 guests