This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Code to control scheduled script
#12
Change params and id as needed, you can also update script by name instead of id: { name = 'my script name' }
Code:
db:update('scripting', { params = '* * * * *' }, { id = 123 })
script.reload(true)
Reply


Messages In This Thread
Code to control scheduled script - by Mirco - 23.09.2019, 08:34
RE: Code to control scheduled script - by admin - 26.09.2019, 05:21

Forum Jump: