Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] rebooting everyday to free up resources?

[DiscordArchive] rebooting everyday to free up resources?

[DiscordArchive] rebooting everyday to free up resources?

Pages (11): Previous 1 7 8 9 10 11  
rektbyfaith
Administrator
0
02-28-2024, 03:56 PM
Archived author: stevej • Posted: 2024-02-28T15:56:18.727000+00:00
Original source

That's a matter of practice. Just like compiling, maybe the first one doesn't work out, but then each time it will work out better until you master it.
rektbyfaith
02-28-2024, 03:56 PM #101

Archived author: stevej • Posted: 2024-02-28T15:56:18.727000+00:00
Original source

That's a matter of practice. Just like compiling, maybe the first one doesn't work out, but then each time it will work out better until you master it.

rektbyfaith
Administrator
0
02-28-2024, 04:03 PM
Archived author: Honey • Posted: 2024-02-28T16:03:38.684000+00:00
Original source

Updating the server on Linux is 2 commands, plus 1 per module. You'll end up automating it with a script probably
rektbyfaith
02-28-2024, 04:03 PM #102

Archived author: Honey • Posted: 2024-02-28T16:03:38.684000+00:00
Original source

Updating the server on Linux is 2 commands, plus 1 per module. You'll end up automating it with a script probably

rektbyfaith
Administrator
0
02-28-2024, 04:10 PM
Archived author: stevej • Posted: 2024-02-28T16:10:12.698000+00:00
Original source

When I started a script in SQL, I used Excel. I had the fields in it, and then I exported them to an editor like sublime text and created the SQL query. But always, with SQL scripts. Never editing the fields manually. In case I had to reverse them. It's easier to double-click the field and edit it, but if you wanted to go back, you would have to restore the entire database. So with a script, that becomes a little easier.
rektbyfaith
02-28-2024, 04:10 PM #103

Archived author: stevej • Posted: 2024-02-28T16:10:12.698000+00:00
Original source

When I started a script in SQL, I used Excel. I had the fields in it, and then I exported them to an editor like sublime text and created the SQL query. But always, with SQL scripts. Never editing the fields manually. In case I had to reverse them. It's easier to double-click the field and edit it, but if you wanted to go back, you would have to restore the entire database. So with a script, that becomes a little easier.

rektbyfaith
Administrator
0
02-28-2024, 04:12 PM
Archived author: stevej • Posted: 2024-02-28T16:12:16.022000+00:00
Original source

With this script, all modules were updated. But it was not added, and I ended up closing the pull request. But if the code is useful to anyone, you can see it here. https://github.com/azerothcore/azerothco...pull/16978
rektbyfaith
02-28-2024, 04:12 PM #104

Archived author: stevej • Posted: 2024-02-28T16:12:16.022000+00:00
Original source

With this script, all modules were updated. But it was not added, and I ended up closing the pull request. But if the code is useful to anyone, you can see it here. https://github.com/azerothcore/azerothco...pull/16978

rektbyfaith
Administrator
0
02-28-2024, 04:13 PM
Archived author: stevej • Posted: 2024-02-28T16:13:46.493000+00:00
Original source

```bash
#!/bin/bash
set -euo pipefail

for i in ./*; do
if [[ -d "$i" ]]; then
cd $i || exit
git config pull.rebase false
git pull origin "$(git rev-parse --abbrev-ref HEAD)"
cd ..
fi
done
```
rektbyfaith
02-28-2024, 04:13 PM #105

Archived author: stevej • Posted: 2024-02-28T16:13:46.493000+00:00
Original source

```bash
#!/bin/bash
set -euo pipefail

for i in ./*; do
if [[ -d "$i" ]]; then
cd $i || exit
git config pull.rebase false
git pull origin "$(git rev-parse --abbrev-ref HEAD)"
cd ..
fi
done
```

rektbyfaith
Administrator
0
02-28-2024, 04:14 PM
Archived author: stevej • Posted: 2024-02-28T16:14:13.589000+00:00
Original source

It is a bash script. On Windows, if you have git bash, you can run it.
rektbyfaith
02-28-2024, 04:14 PM #106

Archived author: stevej • Posted: 2024-02-28T16:14:13.589000+00:00
Original source

It is a bash script. On Windows, if you have git bash, you can run it.

Pages (11): Previous 1 7 8 9 10 11  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)