Skip to content
Add a clock, rehearse it, and prove it fired

Add a clock, rehearse it, and prove it fired

Which automation runs on your tenant, and how to switch one on · presentation 2 of 2 · for the whole-system operator — you run the books Read the transcript · Back to the series

These slides need JavaScript to advance one at a time. Without it every slide is shown below, one after another, each with its own player — or read the transcript, which carries the same steps and every word.

Which automation runs on your tenant, and how to switch one on · presentation 2 of 2

Add a clock, rehearse it, and prove it fired

You can find a job in the Select Processor picker, create its clock inactive with the timetable and properties it needs…

Before you add a clock

Step 1 — Decide what you are switching on, and who decided

You will know the question to settle before you open the Scheduler.

Where this step sits
    flowchart TD
  s1["1. Decide what you are switching on…"]
  s2["2. Find the job in the picker"]
  s3["3. Create it inactive, with the properties…"]
  s4["4. Write the timetable"]
  s5["5. Rehearse with Run Now…"]
  s6["6. Switch it on, and know when…"]
  s7["7. Prove it fired, and keep proving…"]
  s1 --> s2
  s2 --> s3
  s3 --> s4
  s4 --> s5
  s5 --> s6
  s6 --> s7
  classDef here fill:#1e40af,stroke:#1e40af,color:#ffffff,font-weight:bold;
  class s1 here;
  

Step 2 — Find the job in the picker

The right job is on the form.

  • Open the Scheduler applet and press the plus button to add a row
  • Search for MONTHLY_GENERIC_DOC_HISTORICAL_AGING_PROCESSOR and pick it
  • Choose carefully, because the code cannot be changed once the row is saved…
Screen capture pending the demo tenant

Scheduler applet, a new row, the Select Processor picker with its Code, Name, Type and Status columns

Step 3 — Create it inactive, with the properties it needs

The clock exists and cannot fire.

  • Set Status to INACTIVE
  • Open the Json tab, named for the text format it is written in
Screen capture pending the demo tenant

Scheduler applet, Create, the Details tab with Status set to INACTIVE, and the Json tab

Step 4 — Write the timetable

The clock knows when it is due.

  • Open the Cron Expression tab
  • Use the Monthly tab to choose day one of every month and read the…
  • Press CREATE
Screen capture pending the demo tenant

Scheduler applet, Create, the Cron Expression tab and its Expression line

Rehearse before you rely on it

Step 5 — Rehearse with Run Now, or decide not to

You will know what Run Now proves, and when not to press it.

  • Open the new row
  • Run Now puts the job in the queue and runs it at once…
  • Run on the twenty-eighth, it stores last month's month-end photograph from today's balances…
Screen capture pending the demo tenant

Scheduler applet, Edit, the Details tab with the Run Now button

Step 6 — Switch it on, and know when it first fires

The clock is live, and its first firing will not surprise you.

  • Open the row and set Status to ACTIVE
  • Save
Screen capture pending the demo tenant

Scheduler applet, Edit, the Cron Expression tab showing Current Expression and Update Expression to

What success looks like

Step 7 — Prove it fired, and keep proving it

You can prove the clock works, and will notice if it stops.

  • Add to your month-end checklist: every clock's Last Run Date is as recent as…
Screen capture pending the demo tenant

Debtor Report applet, Historical Debtor Report, As of Date at the last month end

NarrationSlide 1 of 11

Left and right arrows, or the space bar, move between slides; f is full screen and Esc leaves it. Clicking the left or right half of a slide pages it. Play and pause belong to you — nothing moves on by itself unless you tick the box above.

Last updated on