[01:47:36] <嘻嘻嘻> 啊 [02:03:22] hi, what language do you speak? [02:04:43] huh, maybe zh, idk why that wasn't suggested at first [02:05:52] 您好,我们可以为您提供什么帮助? (re @嘻嘻嘻: 啊) [04:04:31] <嘻嘻嘻> @jeremy_b [06:20:23] hi有什么需要吗 (re @嘻嘻嘻: 啊) [06:20:41] looks like theyre just looking around [06:21:19] it looks like they've barely said anything at sll [08:25:56] Hi everyone, i am running a welcoming script on toolforge. It is a minorly modified version of welcome.py. In the pwbvenv the welcoming works perfectly. I am just a bit confused with the jobs, that is needed for running the bot continuously. Can someone help me a bit with setting up and running a job? Thanks in advance! [08:29:49] WikiJonathan2: Hi, have you checked the tutorial here https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_Pywikibot_scripts ? [08:31:14] Ive followed the advanced tutorial so far, i created my welkom_bot.py script in /data/project/nlwikiwelcome. [08:34:54] this one? https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_Pywikibot_scripts_(advanced) [08:35:04] yes [08:36:06] did you reach the section https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_Pywikibot_scripts_(advanced)#Create_jobs [08:37:28] yeah, but i did not understand it fully. Should i just use the command it says after ''Example of running your own script on a schedule:''? [08:37:44] but then with a continuous flag [08:38:48] oh, I understand your question now, yes, to run a daemon/continuous job, you have to run the same command you would run passing `--continuous` flag and removing the `--schedule ...` flag [08:39:22] Tysm! [08:40:08] just updated the docs :), let me know if you find issues [08:52:21] The bot is running, however, it is not creating an output log, which is kinda weird [08:54:24] Well it has created it, it is empty [09:10:53] Solved, the script stores standard messages in the .err for some reason [09:12:11] that's standard error yep, maybe the output is done through there instead of stderr [15:16:04] !log zuul Granted k8s_admin role to zuuldevopsbot, jnuche, and bd808 user [15:16:10] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Zuul/SAL [19:05:53] !log lucaswerkmeister@tools-bastion-13 tools.speedpatrolling deployed c9512a1c58 (change config keys to uppercase to work around T374780) [19:05:56] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [19:12:47] !log speedpatrolling python3 -c 'import yaml; print(yaml.safe_dump(yaml.safe_load(open("config.yaml"))["OAUTH"]["CONSUMER_KEY"]))' | toolforge envvars create TOOL_OAUTH__CONSUMER_KEY [19:12:49] lucaswerkmeister: Unknown project "speedpatrolling" [19:12:49] lucaswerkmeister: Did you mean to say "tools.speedpatrolling" instead? [19:12:59] !log tools.speedpatrolling python3 -c 'import yaml; print(yaml.safe_dump(yaml.safe_load(open("config.yaml"))["OAUTH"]["CONSUMER_KEY"]))' | toolforge envvars create TOOL_OAUTH__CONSUMER_KEY [19:13:00] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [19:13:03] !log tools.speedpatrolling python3 -c 'import yaml; print(yaml.safe_dump(yaml.safe_load(open("config.yaml"))["OAUTH"]["CONSUMER_SECRET"]))' | toolforge envvars create TOOL_OAUTH__CONSUMER_SECRET [19:13:04] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [19:13:19] !log tools.speedpatrolling python3 -c 'import yaml; print(yaml.safe_dump(yaml.safe_load(open("config.yaml"))["SECRET_KEY"]))' | toolforge envvars create TOOL_SECRET_KEY [19:13:20] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [19:14:21] !log tools.speedpatrolling (DEBUG_CSRF not ported to envvars, I don’t remember when I added this “temporary” variable but I seriously doubt it’s still useful to print this debug output at the moment) [19:14:21] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [19:15:02] !log tools.speedpatrolling commented out config.yaml, should use envvars instead [19:15:05] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL [19:15:26] !log lucaswerkmeister@tools-bastion-13 tools.speedpatrolling deployed a0c1712fba (read config from envvars) [19:15:27] Logged the message at https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools.speedpatrolling/SAL