Application.Ontime - just stops

JeffGrant

Well-known Member
Joined
Apr 7, 2021
Messages
558
Office Version
  1. 365
Platform
  1. Windows
Hi All,

In my model I have a lot of Application.Ontime events, generally >100 per day & > 300 on a weekend.

On the whole every thing works fine, however, I do find that the Ontime method does stop on it's own and for now apparent reason.

Step 1. Ontime runs a python download script for an API
Step 2. Ontime does some data copying
Step 3. Ontime does some calculations
Step 4. Ontime runs another python upload script for an API

Excel does not close down, other code runs fine, there is no cancellations, but Ontime stops.

But sometimes, these 4 steps can run into each other and overlap, could that cause a stoppage?

Given that my model run largely in an unattended mode, when it stops, everything stops.

Has anybody experienced this before and is their a potential way of checking if Ontime stops when the PC is unattended?

As always, thanks for your help & guidance.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi Jafar, thanks for that, i should have mentioned in my earlier post.

Notebook is connected to AC power, sleep mode is disabled with screen and hard drive power down power settings disabled.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top