Hello!
So 2 small questions today:
-
How can I see logs produced by job? There is no option in webmin as I see (v2.6.3)
-
If I want to share some logic between job and api how can I do it without copy-paste? Looks like I cannot just require()
Thanks in advance
-
Thanks, found it!
-
No, I mean don’t mean api call. For example I have some file in default Api project and I want to use this code in job:
local commonLogic = require(“default.commonLogic”) commonLogic.doStuff()
Right now it doesn’t work, that was my question
Edit: It was my fault, code above works as expected!
-
Thanks, found it!
-
No, I mean don’t mean api call. For example I have some file in default Api project and I want to use this code in job:
local commonLogic = require(“default.commonLogic”) commonLogic.doStuff()
Right now it doesn’t work, that was my question
Edit: It was my fault, code above works as expected!