Create/Delete Scheduler events - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Create/Delete Scheduler events (/showthread.php?tid=2905) |
Create/Delete Scheduler events - Mardav - 16.10.2020 Hey, I am trying to figure out a way to create/delete schedulers/scheduler events from scripts. I found that you can update values in pre-existing schedulers and events but is it possible to create them from scripts? I am currently using this to update the values within already created events. Code: db:update('scheduler_events', { --Update schedulers RE: Create/Delete Scheduler events - admin - 16.10.2020 You can insert data like this. But you have to carefully fill all fields, there's no guarantee that it will work if some field value are incorrect. Code: db:insert('scheduler_events', { |