Hi Rob,
So the way the reporter works is that the runreports function takes the full reports table as an input to schedule all the reports.
The command that is actually set to run on the timer uses the send function which takes 6 arguments ([Name;query;proct;procn;timeout;gateway]).
So if I wanted to run the report immediately on 2024.05.05 as an example you could run this specific report by running send on the reporter process like -
send[`alertreport;".alert.runalerts[2024.05.05;()]";"alert_postback";enlist[`hdb];`hdb1;0D00:10:00.000000000;`]
If you look in .timer.timer on reporter process you can see what has been scheduled to run, the funcparam column shows what is actually being ran when the scheduled time occurs.
Hope this helps,
Jack
On 26 Jun 2024, at 9:27 pm, Jack Carton <jacksuk...@gmail.com> wrote:
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
--
dataintellect.com
dataintellect.com/thoughts
---
You received this message because you are subscribed to a topic in the Google Groups "Data Intellect kdb+/TorQ" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kdbtorq/Br9md_fSDYk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kdbtorq+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/kdbtorq/2ae60cc2-c9ec-4c4d-abfa-7987c7c0ae79n%40googlegroups.com.