Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlesuite.def
suite cron3              # use real clock otherwise clock starts when the simulations starts
   clock real  1.1.2006  # define a start date for deterministic behaviour
   endclock   13.1.2006  # When to finish. end clock is *only* used for the simulator
   family cronFamily
     task t
       cron -d 10,11,12   10:00 11:00 01:00  # run on 10,11,12 of the month at 10am and 11am
       verify complete:6                     # task should complete 6 times between 1.1.2006 -> 13.1.2006
   endfamily
endsuite

 

 Please note, for deterministic behaviour, the start and end clock should be specified

 However if no 'endclock' is specified the simulation run will assume the following defaults.

...