Advertisement
Guest User

Untitled

a guest
Mar 20th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # # https://wikitech.wikimedia.org/wiki/Help:Toolforge/Grid#Scheduling_jobs_at_regular_intervals_with_cron
  2. # execute with:
  3. # 0 12 * * 0 && jsub wcdo_ccc_cron.sh
  4. # m h  dom mon dow (execute at noon, every sunday; doesn't matter what day of the month, doesnt matter what month, on the 0'th day of the week)
  5. # AIXÒ S'HAURIA DE CANVIAR A CADA QUINZE DIES
  6.  
  7. # go to wcdo processing script folder.
  8. cd /home/marcmiquel
  9.  
  10. # setup or verify the language context mapping. if new language: create file and send e-mail.
  11. python setup_language_context_mapping.py
  12.  
  13. # execute the script for ccc creation (total or incremental). update databases. create new datasets.
  14. python ccc_selection.py
  15.  
  16. # go to nikola folder.
  17. cd /home/marcmiquel/WCDO-website
  18.  
  19. # run nikola and create a new version of the site.
  20. /home/marcmiquel/miniconda3/bin/nikola build
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement