Logic Machine Forum
Change Cron settings from script - 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: Change Cron settings from script (/showthread.php?tid=62)



Change Cron settings from script - RSV4 - 13.08.2015

Hi all,

is it possible to edit the cron settings of a script from another script? Reason is I'd like the end-user to choose when certain scripts are executed.

Best regards,
Robin


RE: Change Cron settings from script - Pawel - 13.08.2015

it's posibble to enable/disable one script form another.

script.disable(name_of script) - it disable script named "name_of script". i assumed that "script.enable()", enables script


RE: Change Cron settings from script - RSV4 - 14.08.2015

Can I change the time and weekdays of a scheduled script from another script?


RE: Change Cron settings from script - Pawel - 16.08.2015

http://openrb.com/example-change-the-scheduled-program-time-parameters-dynamically-from-visualization/


RE: Change Cron settings from script - RSV4 - 16.08.2015

Thank you! :-)