Home Forums EN Developing API Statistics Reply To: API Statistics

Nishit Shan
Participant
Post count: 1179

Hello Mark,

I did changes for the cron and added new script and also tested with a test entry(https://ibb.co/cFv17zm).
And it is working as i was trying but there is one one thing i must tell you that the even the function is working but during the process on server it’s time interval increase.

See the below result i am getting for my test notification:
1)
currenttime : 2024-07-17 04:45:40 ->>>>> cronetime : 2024-07-17 04:43:06 ->>>>> interval : 154

INT : Number Mask : 123testse
Int : Notify

2)
currenttime : 2024-07-17 04:46:06 ->>>>> cronetime : 2024-07-17 04:45:40 ->>>>> interval : 26

INT : Number Mask : 123testse
Int : Notify

3)
currenttime : 2024-07-17 04:47:17 ->>>>> cronetime : 2024-07-17 04:46:06 ->>>>> interval : 71

INT : Number Mask : 123testse
Int : Notify

4)
currenttime : 2024-07-17 04:48:06 ->>>>> cronetime : 2024-07-17 04:47:17 ->>>>> interval : 49

INT : Number Mask : 123testse
Int : Notify

You can see the interval above . Even i want to run the interval in every 2 second but it is different. This is because the code is processing and taking time to go for next round of execution.

Hoping you understand my point.