Added cron flag to script.
This commit is contained in:
parent
f63a9aba94
commit
e97ffb7b3e
2 changed files with 7 additions and 1 deletions
|
@ -2,3 +2,9 @@
|
||||||
|
|
||||||
This is the program that runs every day at 12:00 AM UTC and backs up the non-volatile user data from [Flashii](https://flashii.net).
|
This is the program that runs every day at 12:00 AM UTC and backs up the non-volatile user data from [Flashii](https://flashii.net).
|
||||||
Provided for transparency.
|
Provided for transparency.
|
||||||
|
|
||||||
|
## Grant line for MySQL backup user
|
||||||
|
|
||||||
|
```
|
||||||
|
GRANT SELECT, LOCK TABLES, SHOW VIEW, EVENT, TRIGGER, EXECUTE ON *.* TO 'user'@'localhost';
|
||||||
|
```
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
|
|
||||||
dotnet run --project BackupManager -c Release -f netcoreapp2.2
|
dotnet run --project BackupManager -c Release -f netcoreapp2.2 -- -cron
|
||||||
|
|
Reference in a new issue