Sequencing Batch File Runs When AmiBroker Has Been Closed for A While


#1

Hi,

How does one control the sequencing of batch files when AmiBroker has been closed for a while and then is reopened? If I leave AB open the batch scheduler works great and does everything I need it to. However, if AB has been closed for a few days and then I open it the sequencing is not the same. I am using the “At specific date/time” option.

I have noticed that when AB is launched after a few days of being closed it seems to follow the scheduler sequential order but not the associated time. Can I just delete and re-add the batch files in the order I want to run them in for this instance?

Again…the issue is not the scheduler itself. It works just like I have set it when AB is open and running. The problem is when AB is reopened and the auto scheduler is catching up for missed scheduled batches.

Thanks!


#2

If there are many batches that passed their due time they will be run on startup in the order in which they appear in scheduler window (i.e. in the order they were added).


#3

Just having a variation to the issue. Am attaching the screeenshot:2018

While the last batch is supposed to run the first (as per time sequence), I have observed the first batch to run first. Has it something to do with the sequnce in the scheduler window?


#4

How did you come to such assumption? Did you even bother to read what I wrote in my last reply? What I wrote is exact reverse:

If there are many batches that passed their due time they will be run on startup in the order in which they appear in scheduler window (i.e. in the order they were added).


#5

@Tomasz It's not that way around. The idea was to have the files to run as per the scheduled time. Therefore the query. As of now I have rearranged the scheduler as per time.

Maybe SORT functionality may help.


#6

As I wrote twice already:

  1. if AmIBroker IS RUNNING, then scheduled tasks are executed according to their scheduled time.

  2. If AmiBroker is NOT running, then all tasks PAST their due time will be run next time you start AmiBroker in the order in which they appear in scheduler window (i.e. in the order they were added).