Forum

FAQs and other general questions are answered here
By Pigfarmer
#5518
The time on my VPS is more than one minute off compared to actual time, and I am not able to change it by myself. I have to send a request to the VPS hosting agency, who will correct it, but after a while it starts drifting again.
Is the bot depending on the internal clock on the VPS for correct bet placing, or is it in sync with the betfair server?
I am having strange behaivours and I think it is due to the internal clock keep drifting and being out of sync.

If the bot is depending in the internal clock, would it be posible to develop functionality so that the bot is in sync with the betfair server instead, disregarding the internal clock?
User avatar
By BfBotManager
#5519
Hi Pigfarmer,

Bot is using local PC clock to determine time of bet.

It is not possible to use Betfair server or any other time server for this because it is expected that local PC time is correct and synchronized with internet time.

In Windows there is option for automatic synchronization with time servers. Maybe you just need to ask your adminsitrator to turn this option on?

Please see following thread for VPS servers that I have been using and that worked well so far:
http://www.bfbotmanager.com/phpbb3/view ... ?f=8&t=608

Regards,
Rade
Attachments
Synchronize time automatically
Synchronize time automatically
synchronize time.png (77.45 KiB) Viewed 19067 times
By Pigfarmer
#5520
I got this message in reply regarding the possibility to change local clock and/ or having it synced to a time server:

Unfortunately, in a Virtual Dedicated Server environment, your virtual instance will automatically synchronize to the parent server’s time zone. This behavior can’t be changed with a Virtual Dedicated Server.
Most applications provide a time offset, as developers typically realize you may not have full control over the system time, or you may be hosting various websites on the same server for customers in different time zones. However, if your applications don’t support this functionality, you would need a Dedicated Server in order to change the system time.

Does this mean I need to invest in a Dedicated Server to use this Bot?
User avatar
By BfBotManager
#5521
Hi Pigfarmer,

Dedicated server is too expensive and you do not need it. You just need VPS server with minimum hardware to run Bf Bot Manager.

Your hosting company should ensure that your VPS server time is synchronized to internet time for selected timezone. I am not talking here about changing time zone, I am just saying that your VPS time must be correct and synchronized to internet time server for selected time zone!

For example, if your VPS server is located in UK and you are located in Australia, then server timezone might be set to UK, that is +1 hour. This is different to your local Australia time, but it will not effect the way how bot works if VPS time for UK timezone is correct. This means that your local Australia time could be 23:10h in the evening while VPS time could be 14:10h for UK timezone. This is correct time at VPS server for its selected timezone and it will not cause any problems to bot and bot will place bets properly. In this example only issue would be if your local Australia time is 23:10h and your VPS time is 13:58h, this would mean that your VPS time is late by 12minutes because correct UK time is 14:10h.

Does that make sense?

Regards,
Rade
By Pigfarmer
#5523
The answer from them is a little confusing. I am able to set any time zone I want, but no matter what time zone I set, it is a diff of 1 to 2 minutes to the actual time.
My conclusion is they are not able to/ or not interested in keeping my pc-clock be in sync, and they forward the problem to the software developer. I can't be alone having this problem.
User avatar
By BfBotManager
#5524
Hi Pigfarmer,

I am sorry, but I cannot help you much on this. PC on which you are running bot must be synchronized to internet time. Only thing that you can do is adjust time of bet for difference between correct time and VPS server time, so that bot places bets earlier if VPS server time is late few minutes/seconds.

You can try some other hosting company and rent new VPS server. Any server or PC should have accurate time and synchronized to internet time on regular basis. I just checked my VPS server and it has same time as my PC, both computers are synchronized to internet time.

Kind regards,
Rade