Jump to content
TrinityCore

Search the Community

Showing results for tags 'cron'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Releases and Announcements
  • Help and Support
    • Help and Support
  • Offtopic
    • Trinitycore.org Website issues
    • Chillout Room

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. On my test server, I run a Cron Job that pulls source once a week, rebuilds the servers and restarts the servers. THIS IS FOR LINUX ONLY You do not need root access for this. Simply open a shell and type crontab -e Add the following to the cron tab 00 01 * * 0 /home/trinity/servers/legion/cron/update This will run at 1am every Sunday Save and Exit depending on which editor you choose to use. -------------------------------------------------------------------------- The Following update script is what I use which is placed in /home/trinity/server/cron The files name is update and needs to be set as executable (chmod +x update) cd /home/trinity/TrinityCore git pull origin master (or 6x if you are not using the master branch) cd build make clean cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity/server -DTOOLS=0 -DWITH_WARNINGS=1 -DCONF_DIR=/home/trinity/server/etc make make install If you use a manage script to start and stop your servers, I recommend you run the stop command between make and make install This is just a recommendation, so your server is never far from the current revision but as always, keep an eye on IRC and the Github Repositories.
×
×
  • Create New...