This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.
How can I convert the following crontab to the new format?
#m h dom mon dow command @reboot /home/pasqual/autostart.sh @daily tail -1000 /home/pasqual/public_html/pywikipedia/logs/commands.log > /home/pasqual/public_html/pywikipedia/logs/commands.log @monthly /home/pasqual/public_html/update_pywiki.sh @monthly /home/pasqual/public_html/pywikipedia/user_scripts/arxiva_taverna.py 30 22 1,15 * * /home/pasqual/public_html/pywikipedia/user_scripts/indicadors.py -edit 0 23 * * * /home/pasqual/public_html/pywikipedia/user_scripts/depth.py -edit 0 11,19,23 * * * /home/pasqual/public_html/pywikipedia/user_scripts/llista1000.sh -edit 0 22 * * 0 /home/pasqual/public_html/pywikipedia/user_scripts/withoutIW.py
Pasqual 13:45, 13 January 2011 (UTC)
Questions or Ideas for improvements
Converting an existing cron job to use the scheduler
0 3 * * * cronsub -s mytool $HOME/mytool.py
"mytool" is how you tell cronsub your tool is named. The output from the tool will be written to $HOME/mytool.out.
- Does mytool (and obviously mytool) correspond to mytool or to mytool?
- Does mytool have to be the same as mytool?
- "The output from the tool will be written to $HOME/mytool.out." == appended to existing or rewritten on every single run?
- How to write the tool output elsewhere?
Optional resources: SQL server "sql"
Which resource should be used, if I connect to "sql" as dns alias? I always connect to "sql" for my user databases. --184.108.40.206 22:46, 11 January 2013 (UTC)
Is it needed to know on which cluster a particular language version is? It's nice to have dewiki-p.rrdb.toolserver.org or dewikisource-p.rrdb.toolserver.org - and now I have to look again, on which cluster they are and have to change things, if WMF change things? --220.127.116.11 22:48, 11 January 2013 (UTC)