{{tag>category:"OpenInsight 32-bit" author:"Barry Stevens" author:"Dave Harmacek" author:"Jared Bratu" author:"Robert Catalano"}} [[https://www.revelation.com/the-works|Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community]] ==== RTI_TASK_SCHEDULER (OpenInsight 32-bit) ==== === At 08 MAY 2012 05:37:11PM Barry Stevens wrote: === Can RTI_TASK_SCHEDULER be used to schedule a report to be run at 2pm every day for example. ---- === At 09 MAY 2012 07:50AM Dave Harmacek wrote: === Yes, the RTI TS can schedule a process to run every day at 2pm. But, it is designed to start up a OEngineServer, which can't write a report. So, have a OInsight desktop running, with a TIMER event set for 2pm. Upon completion of that event, set the TIMER event for the next day. Then you don't need the RTI TS. I actually have one watching a Task Queue so that anyone in the network can have it run a report/process for them. Dave Harmacek Harmacek Database Systems ---- === At 09 MAY 2012 11:30AM Jared Bratu wrote: === You can use this method but you may find using the RTI_Task_Submit() function better. The function spawns a special OInsight process in GUI context to run the command specified. The purpose of the function is to generate PDF files from a non-gui context like OEngineServer/OECGI. If your scheduled task calls the RTI_Task_Submit function to generate your PDF you don't need to use the timer event. ---- === At 09 MAY 2012 05:16PM Barry Stevens wrote: === Great Jared, just what I was after. I searched for 'RTI_Task_Submit' in the 9.3.1 help which found it under a 'topic' of 'OpenInsight Background Processor', so, I was just wondering where that is found from the Contents tab. ---- === At 10 MAY 2012 10:39AM Robert Catalano wrote: === Hi Barry, The Programmer's Reference Manual has been updated for the next release to include these commands. Robert Catalano | Revelation Software Director of Sales 99 Kinderkamack Road | First Floor | Westwood, NJ 07675 USA V: +1 800.262.4747 | F: +1 201.722.9815 [email=rcatalano@revelation.com]rcatalano@revelation.com[/email] | [url=http://www.revelation.com]www.revelation.com[/url] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=WORKS_READ&SUMMARY=1&KEY=B15CC3BB0004379B395395300|View this thread on the Works forum...]]