Tools/Scheduler won't save changes

Hi,
I am new to AmiBroker (and fascinated from its possibilities).

I have a problem I could not find a solution for. I have setup a batch.abb succesfully. Now I want to call this batch repeated due the Tools/Scheduler

My changes wont be saved when hitting "OK"-Button, the schedulers-list still shows "Repeat"-"Once" and the task will not be repeated.

Now I found in the forum, that the Schedulers Crontab is save at "broker.schedule".
This file looks like this

<?xml version="1.0" encoding="ISO-8859-1"?> C:\Program Files\AmiBroker\Formulas\Custom\ChrisBatch1.abb 0 2025-08-25 15:50:13 0 1 22 127 1899-12-30 00:00:00 0

My Question is:

  • how can I make AmiBroker save my changes in the scheduler, "OK"-Button won't save my changes
  • alternatively, how should I amend the "broker.schedule"-File to let the Task run hourly

Many thanks in advance for your help!

Kind regards,
Chris

This is NORMAL. You have selected "start batch when application starts". This kind of start condition is special, executed ONCE at startup.

For time-based repeats you have to use "Start batch at specified date/time". Then you can do time-based repeats.
If you want BOTH (start when application starts AND periodic repetition), you need to add TWO tasks:

  1. Run on app startup
  2. Run from ANY date in the past say today 01:00 and repeat hourly.
1 Like

Thank you very much Tomasz, fully understand & problem solved :victory_hand:

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.