Open main menu

Meza/Periodic Cron jobs

Add the following to the bottom of your public.yml file

  custom_crons:
  - server_type: app-servers
    time: "0/5 * * * *"
    job: >
      sudo WIKI=demo php {{ m_mediawiki }}/extensions/SemanticMediaWiki/maintenance/rebuildData.php --query=[[Category:User]] --v 
      >> {{ m_logs }}/LDAP-user-update-`date "+%Y-%m"`.log 2>&1