Usuari:Rebot/Toolforge
Aparença
Connexió
[modifica]$ ssh paucabot@login.toolforge.org $ become rebot
Ordres
[modifica]toolforge jobs list
toolforge jobs delete discussions
- SCRIPTS de PYWIKIBOT:
toolforge jobs run --image tool-pywikibot/pywikibot-scripts-stable:latest --command "pwb -family:wikitech -lang:en redirect double -always" schedule "@daily" fix-double-redirects
- SCRIPTS PERSONALITZATS:
toolforge jobs run my-cool-job --command "$HOME/pwbvenv/bin/python3 $HOME/my-cool-script.py" --image python3.11 --schedule "@daily"
- Exemples:
toolforge jobs run llista-reds-$(date +%d-%m-%Y-%H%M) --command "$HOME/pwbvenv/bin/python3 /data/project/shared/pywikibot/core/scripts/templatecount.py -count -namespace:0 CC CN EE FR FVA MF MR MT" --image python3.11
toolforge jobs run catpet-$(date +%d-%m-%Y-%H-%M) --command "$HOME/pwbvenv/bin/python3 $HOME/catpet.py" --image python3.11 --schedule "@daily"
toolforge jobs run robot-$(date +%d-%m-%Y-%H-%M) --command "sh $HOME/robot.sh" --image python3.11
Sftp
[modifica]Ajuda
[modifica]- wikitech:Help:Toolforge#Using Toolforge and managing your files
- wikitech:Help:Toolforge/Pywikibot
- https://wikitech.wikimedia.org/wiki/Help:Access_to_Toolforge_instances_with_PuTTY_and_WinSCP
- wikitech:Help:Accessing Cloud VPS instances#Permission denied (publickey)
- https://linuxhint.com/find-ssh-public-key/
- https://phabricator.wikimedia.org/T319996
- wikitech:Help:Toolforge/My first Flask OAuth tool
- Migració a Kubernetes
- wikitech:Help:Toolforge/Envvars Service
- wikitech:Help:Toolforge/Running Pywikibot scripts
- wikitech:Help:Toolforge/Running Pywikibot scripts (advanced)
- wikitech:Help:Toolforge/Rules#rule 4
- wikitech:Help:Toolforge/Jobs framework
- wikitech:Help talk:Toolforge/Jobs framework#Help moving pywikibot jobs including user-fixes.py customization
- https://setuptools.pypa.io/en/latest/pkg_resources.html
- wikitech:Help:Toolforge/Jobs framework#Loading jobs from a YAML file